|
|
@ -21,7 +21,7 @@ pipeline { |
|
|
|
|
|
|
|
REVISION = "${env.BRANCH_NAME}-${commitDate}.${commitId}" |
|
|
|
} |
|
|
|
|
|
|
|
sh "sudo chmod -R +x ." |
|
|
|
sh "./gradlew -Pversion='${REVISION}' testClasses" |
|
|
|
} |
|
|
|
} |
|
|
@ -60,19 +60,19 @@ pipeline { |
|
|
|
|
|
|
|
success { |
|
|
|
office365ConnectorSend color: 'good', |
|
|
|
message: "Build ${currentBuild.fullDisplayName} completed *successfully* (<${env.BUILD_URL}|Open>).\n\n\n${CUSTOM_SCM_INFO}", |
|
|
|
message: "Build ${currentBuild.fullDisplayName} completed *successfully* (<${BUILD_URL}>).\n\n\n${CUSTOM_SCM_INFO}", |
|
|
|
webhookUrl: "https://outlook.office.com/webhook/97618564-835e-438e-a2a7-a77b21331e1e@22877e52-e9fd-410d-91a3-817d8ab89d63/JenkinsCI/fa736de2175649a891c2957f00532027/87d23462-1d0c-4378-b4e0-05c7d5546a25" |
|
|
|
} |
|
|
|
|
|
|
|
failure { |
|
|
|
office365ConnectorSend color: 'danger', |
|
|
|
message: "Build ${currentBuild.fullDisplayName} *failed* (<${env.BUILD_URL}|Open>).\n\n\n${CUSTOM_SCM_INFO}", |
|
|
|
message: "Build ${currentBuild.fullDisplayName} *failed* (<${BUILD_URL}>).\n\n\n${CUSTOM_SCM_INFO}", |
|
|
|
webhookUrl: "https://outlook.office.com/webhook/97618564-835e-438e-a2a7-a77b21331e1e@22877e52-e9fd-410d-91a3-817d8ab89d63/JenkinsCI/fa736de2175649a891c2957f00532027/87d23462-1d0c-4378-b4e0-05c7d5546a25" |
|
|
|
} |
|
|
|
|
|
|
|
unstable { |
|
|
|
office365ConnectorSend color: 'warning', |
|
|
|
message: "Build ${currentBuild.fullDisplayName} was *unstable* (<${env.BUILD_URL}|Open>).\n\n\n${CUSTOM_SCM_INFO}", |
|
|
|
message: "Build ${currentBuild.fullDisplayName} was *unstable* (<${env.BUILD_URL}>).\n\n\n${CUSTOM_SCM_INFO}", |
|
|
|
webhookUrl: "https://outlook.office.com/webhook/97618564-835e-438e-a2a7-a77b21331e1e@22877e52-e9fd-410d-91a3-817d8ab89d63/JenkinsCI/fa736de2175649a891c2957f00532027/87d23462-1d0c-4378-b4e0-05c7d5546a25" |
|
|
|
} |
|
|
|
} |
|
|
|