error'The version declaration is invalid. It is neither a release nor a snapshot. Mabe some error while fetching it using maven.'
error'The version declaration is invalid. It is neither a release nor a snapshot. Maybe an error occured while fetching the parent pom using maven?'
}
}
script{
...
...
@@ -53,32 +50,37 @@ pipeline {
}
post{
failure{
rocketSendchannel:'jenkinsohsome',emoji:':sob:',message:"$reponame-build nr. ${env.BUILD_NUMBER} *failed* on Branch - ${env.BRANCH_NAME} (<${env.BUILD_URL}|Open Build in Jenkins>). Latest commit from ${author}. Review the code!",rawMessage:true
rocketSendchannel:'jenkinsohsome',emoji:':sob:',message:"*${REPO_NAME}*-build nr. ${env.BUILD_NUMBER} *failed* on Branch - ${env.BRANCH_NAME} (<${env.BUILD_URL}|Open Build in Jenkins>). Latest commit from ${LATEST_AUTHOR}. Review the code!",rawMessage:true
rocketSendchannel:'jenkinsohsome',message:"Reporting of $reponame-build nr. ${env.BUILD_NUMBER} *failed* on Branch - ${env.BRANCH_NAME} (<${env.BUILD_URL}|Open Build in Jenkins>). Latest commit from ${author}.",rawMessage:true
rocketSendchannel:'jenkinsohsome',emoji:':disappointed:',message:"Reporting of *${REPO_NAME}*-build nr. ${env.BUILD_NUMBER} *failed* on Branch - ${env.BRANCH_NAME} (<${env.BUILD_URL}|Open Build in Jenkins>). Latest commit from ${LATEST_AUTHOR}.",rawMessage:true
update_notify=sh(returnStdout:true,script:'mvn versions:display-dependency-updates | grep -Pzo "(?s)The following dependencies.*\\n.* \\n"').trim()
echoupdate_notify
}
rocketSendchannel:'jenkinsohsome',emoji:':wave:',message:"Check your dependencies in *${REPO_NAME}*. You might have updates: ${update_notify}",rawMessage:true
}
post{
failure{
rocketSendchannel:'jenkinsohsome',emoji:':disappointed:',message:"Checking for updates in *${REPO_NAME}*-build nr. ${env.BUILD_NUMBER} *failed* on Branch - ${env.BRANCH_NAME} (<${env.BUILD_URL}|Open Build in Jenkins>). Latest commit from ${LATEST_AUTHOR}.",rawMessage:true
rocketSendchannel:'jenkinsohsome',message:"Hey, this is just your daily notice that Jenkins is still working for you on $reponame Branch ${env.BRANCH_NAME}! Happy and for free! Keep it up!",rawMessage:true
rocketSendchannel:'jenkinsohsome',emoji:':wink:',message:"Hey, this is just your daily notice that Jenkins is still working for you on *${REPO_NAME}* Branch ${env.BRANCH_NAME}! Happy and for free! Keep it up!",rawMessage:true
}
post{
failure{
rocketSendchannel:'jenkinsohsome',emoji:':wink:',message:"Reporting of $reponame-build nr. ${env.BUILD_NUMBER} *failed* on Branch - ${env.BRANCH_NAME} (<${env.BUILD_URL}|Open Build in Jenkins>). Latest commit from ${author}.",rawMessage:true
rocketSendchannel:'jenkinsohsome',emoji:':disappointed:',message:"Reporting of *${REPO_NAME}*-build nr. ${env.BUILD_NUMBER} *failed* on Branch - ${env.BRANCH_NAME} (<${env.BUILD_URL}|Open Build in Jenkins>). Latest commit from ${LATEST_AUTHOR}.",rawMessage:true
}
}
}
...
...
@@ -129,11 +158,11 @@ pipeline {
}
}
steps{
rocketSendchannel:'jenkinsohsome',message:"We had some problems, but we are BACK TO NORMAL! Nice debugging: $reponame-build-nr. ${env.BUILD_NUMBER} *succeeded* on Branch - ${env.BRANCH_NAME} (<${env.BUILD_URL}|Open Build in Jenkins>). Latest commit from ${author}.",rawMessage:true
rocketSendchannel:'jenkinsohsome',emoji:':sunglasses:',message:"We had some problems, but we are BACK TO NORMAL! Nice debugging: *${REPO_NAME}*-build-nr. ${env.BUILD_NUMBER} *succeeded* on Branch - ${env.BRANCH_NAME} (<${env.BUILD_URL}|Open Build in Jenkins>). Latest commit from ${LATEST_AUTHOR}.",rawMessage:true
}
post{
failure{
rocketSendchannel:'jenkinsohsome',message:"Reporting of $reponame-build nr. ${env.BUILD_NUMBER} *failed* on Branch - ${env.BRANCH_NAME} (<${env.BUILD_URL}|Open Build in Jenkins>). Latest commit from ${author}.",rawMessage:true
rocketSendchannel:'jenkinsohsome',emoji:':disappointed:',message:"Reporting of *${REPO_NAME}*-build nr. ${env.BUILD_NUMBER} *failed* on Branch - ${env.BRANCH_NAME} (<${env.BUILD_URL}|Open Build in Jenkins>). Latest commit from ${LATEST_AUTHOR}.",rawMessage:true