constmessage=err?("Was not built:\r\n\r\n```\r\n"+err.replace(/```/g,"` ` `")+"\r\n```\r\n\r\nDO NOT MERGE!"):("Build OK\r\n\r\n"+successMessage);
constmessage=err?("Was not built:\r\n\r\n```\r\n"+err.substring(0,64000).replace(/```/g,"` ` `")+"\r\n```\r\n\r\nDO NOT MERGE!"):("Build OK\r\n\r\n"+successMessage);
conststatusUrlMessage="Build status URL: "+settings.siteRoot+"status/"+options.headRepoOptions.owner+"/"+options.headRepoOptions.reponame+"/"+options.headRepoOptions.rev+"\r\n\r\n";