varmessage=err?("Was not built:\r\n\r\n"+err+"\r\n\r\nDO NOT MERGE!"):("Build OK\r\n\r\n"+successMessage),
varmessage=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),
statusUrlMessage="Build status URL: "+settings.siteRoot+"status/"+options.headRepoOptions.owner+"/"+options.headRepoOptions.reponame+"/"+options.headRepoOptions.rev+"\r\n\r\n";