You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
config.pr.setBuildStatus(config, 'FAILURE', 'Toll gate (Butler)', 'Sir, This pull request targets master. I am afraid that is not permitted for '+env.CHANGE_AUTHOR, '')
12
+
config.pr.setBuildStatus(config, 'FAILURE', 'Toll gate (Butler)', 'This pull request targets master. I am afraid that is not permitted for '+env.CHANGE_AUTHOR, '')
13
13
error "This pull request targets master. That is not permitted!"
if (fileExists(config.repository_root+'restyling.patch')) {
121
121
emailext (
122
122
subject: "PR#${env.CHANGE_ID} - ${env.CHANGE_TITLE} has unfortunate code styling",
123
-
body: """<p>Greetings Sir!<p>
123
+
body: """<p>Greetings!<p>
124
124
I am afraid your pull request does not follow the MySensors standards with respect to coding style.</p>
125
125
That is ok, you are perhaps a first time committer to this repository. Please read the <a href="https://www.mysensors.org/download/contributing">code contribution guidelines</a> for help on how to format your code.<p>
126
126
To assist you, I have prepared a patch for you that will reformat the code according to the coding style required.<br>
@@ -143,7 +143,7 @@ def call(config) {
143
143
echo "You can read the detailed error report here: "+env.BUILD_URL+"The_20Butler_20report/"
message: "Failed to build <${env.CHANGE_URL}|PR#${env.CHANGE_ID} - ${env.CHANGE_TITLE}>. Job <${env.BUILD_URL}|${env.JOB_NAME} #${env.BUILD_NUMBER}> ended with ${currentBuild.result}."
178
178
emailext (
179
179
subject: "PR#${env.CHANGE_ID} - ${env.CHANGE_TITLE} failed to build",
180
-
body: '''Greetings Sir!<p>
180
+
body: '''Greetings!<p>
181
181
I am The Butler. My task is to help you create a pull request that fit the MySensors organizations coding style and builds for all supported platforms.<p>
182
182
I am afraid I failed to validate your pull request. Result was '''+currentBuild.result+'''.
183
183
<br>Please check the attached build log or <a href="${BUILD_URL}">here</a> for a hint on what the problem might be.<p>
@@ -196,7 +196,7 @@ def call(Closure body) {
196
196
message: "Failed to build branch ${env.BRANCH_NAME}. Job <${env.BUILD_URL}|${env.JOB_NAME} #${env.BUILD_NUMBER}> ended with ${currentBuild.result}."
197
197
emailext (
198
198
subject: "MySensors branch ${env.BRANCH_NAME} failed to build",
199
-
body: '''Sir, I am afraid I failed to build branch ${BRANCH_NAME}. Result was '''+currentBuild.result+'''.
199
+
body: '''I am afraid I failed to build branch ${BRANCH_NAME}. Result was '''+currentBuild.result+'''.
200
200
<br>Please check the attached build log or <a href="${BUILD_URL}">here</a> for a hint on what the problem might be.<p>
0 commit comments