diff --git a/.ci/butler.groovy b/.ci/butler.groovy index 3bfa97c..6ae3deb 100644 --- a/.ci/butler.groovy +++ b/.ci/butler.groovy @@ -9,7 +9,7 @@ def call(config) { env.CHANGE_AUTHOR != 'tekka007' && env.CHANGE_AUTHOR != 'user2684' && env.CHANGE_AUTHOR != 'Yveaux')) { - 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, '') + config.pr.setBuildStatus(config, 'FAILURE', 'Toll gate (Butler)', 'This pull request targets master. I am afraid that is not permitted for '+env.CHANGE_AUTHOR, '') error "This pull request targets master. That is not permitted!" } else if (env.CHANGE_TARGET == 'master') @@ -48,7 +48,7 @@ def call(config) { ]) } - config.pr.setBuildStatus(config, 'SUCCESS', 'Toll gate (Butler)', 'Pass - Well done Master!', '') + config.pr.setBuildStatus(config, 'SUCCESS', 'Toll gate (Butler)', 'Pass - Well done!', '') config.pr.setBuildStatus(config, 'SUCCESS', 'Toll gate (Release changelog)', '', '${BUILD_URL}execution/node/3/ws/MySensors/ReleaseNotes.md/*view*/') return } @@ -85,7 +85,7 @@ def call(config) { createFileTemplateContent: ''' {{#commits}} {{#messageBodyItems}} -{{.}} +{{.}} {{/messageBodyItems}} {{/commits}} ''', @@ -120,7 +120,7 @@ def call(config) { if (fileExists(config.repository_root+'restyling.patch')) { emailext ( subject: "PR#${env.CHANGE_ID} - ${env.CHANGE_TITLE} has unfortunate code styling", - body: """
Greetings Sir!
+ body: """
Greetings!
I am afraid your pull request does not follow the MySensors standards with respect to coding style.
That is ok, you are perhaps a first time committer to this repository. Please read the code contribution guidelines for help on how to format your code.
To assist you, I have prepared a patch for you that will reformat the code according to the coding style required.
@@ -143,7 +143,7 @@ def call(config) {
echo "You can read the detailed error report here: "+env.BUILD_URL+"The_20Butler_20report/"
error 'Terminated due to Butler assert'
} else {
- config.pr.setBuildStatus(config, 'SUCCESS', 'Toll gate (Butler)', 'Pass - Well done Sir!', '${BUILD_URL}The_20Butler_20report/butler.html')
+ config.pr.setBuildStatus(config, 'SUCCESS', 'Toll gate (Butler)', 'Pass - Well done!', '${BUILD_URL}The_20Butler_20report/butler.html')
}
}
diff --git a/.ci/butler.sh b/.ci/butler.sh
index d4deeaf..3fdce17 100755
--- a/.ci/butler.sh
+++ b/.ci/butler.sh
@@ -56,7 +56,7 @@ if git grep -q boolean -- `git ls-files | grep -v butler.sh`; then
fi
printf "%s" "" > butler.html
-echo "Greetings Sir! Here is my evaluation of your pull request:
" >> butler.html
+echo "Greetings! Here is my evaluation of your pull request:
" >> butler.html
awk 'FNR==1{print "
"}1' too_long_subjects.txt leading_lowercases.txt trailing_periods.txt too_long_body_lines.txt missing_keywords.txt booleans.txt >> butler.html
echo "
" >> butler.html
if [ $result -ne 0 ]; then
@@ -87,7 +87,7 @@ if [ -s restyling.patch ]; then
echo "
" >> butler.html
result=1
else
- echo "This commit is meeting the coding standards, well done Sir!
" >> butler.html
+ echo "This commit is meeting the coding standards, well done!
" >> butler.html
echo "
" >> butler.html
rm restyling.patch
fi
diff --git a/.ci/pipeline.groovy b/.ci/pipeline.groovy
index 8eb4761..d50e44d 100644
--- a/.ci/pipeline.groovy
+++ b/.ci/pipeline.groovy
@@ -58,7 +58,7 @@ def call(Closure body) {
config.tests = findFiles(glob: config.library_root+'tests/**/*.ino')
config.examples = findFiles(glob: config.library_root+'examples/**/*.ino')
-
+
}
parallel Doxygen: {
@@ -177,7 +177,7 @@ def call(Closure body) {
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}."
emailext (
subject: "PR#${env.CHANGE_ID} - ${env.CHANGE_TITLE} failed to build",
- body: '''Greetings Sir!
+ body: '''Greetings!
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.
I am afraid I failed to validate your pull request. Result was '''+currentBuild.result+'''.
Please check the attached build log or here for a hint on what the problem might be.
@@ -196,7 +196,7 @@ def call(Closure body) {
message: "Failed to build branch ${env.BRANCH_NAME}. Job <${env.BUILD_URL}|${env.JOB_NAME} #${env.BUILD_NUMBER}> ended with ${currentBuild.result}."
emailext (
subject: "MySensors branch ${env.BRANCH_NAME} failed to build",
- body: '''Sir, I am afraid I failed to build branch ${BRANCH_NAME}. Result was '''+currentBuild.result+'''.
+ body: '''I am afraid I failed to build branch ${BRANCH_NAME}. Result was '''+currentBuild.result+'''.
Please check the attached build log or here for a hint on what the problem might be.
Changes:
${CHANGES}
@@ -215,4 +215,4 @@ def call(Closure body) { } } } -return this \ No newline at end of file +return this