ci(*): modify jenkinsfile

This commit is contained in:
wangruixue 2019-08-30 15:38:24 +08:00
parent 3d29e62ccf
commit 5e105b424a

6
Jenkinsfile vendored
View File

@ -80,20 +80,22 @@ pipeline {
post { post {
always { always {
echo 'This will always run' echo 'This will always run'
/*
dingTalk accessToken: '7dca6ae9b1b159b8b4b375e858b71f2e6cec8f73fa20d07552d09791261b2344', dingTalk accessToken: '7dca6ae9b1b159b8b4b375e858b71f2e6cec8f73fa20d07552d09791261b2344',
imageUrl: 'http://icon-park.com/imagefiles/loading7_gray.gif', imageUrl: 'http://icon-park.com/imagefiles/loading7_gray.gif',
message: '开始构建', message: '开始构建',
jenkinsUrl: "${JENKINS_URL}" jenkinsUrl: "${JENKINS_URL}"
*/
} }
success { success {
echo 'This will run only if successful' echo 'This will run only if successful'
/*
dingTalk accessToken: '7dca6ae9b1b159b8b4b375e858b71f2e6cec8f73fa20d07552d09791261b2344', dingTalk accessToken: '7dca6ae9b1b159b8b4b375e858b71f2e6cec8f73fa20d07552d09791261b2344',
imageUrl: 'http://icons.iconarchive.com/icons/paomedia/small-n-flat/1024/sign-check-icon.png', imageUrl: 'http://icons.iconarchive.com/icons/paomedia/small-n-flat/1024/sign-check-icon.png',
message: '构建成功', message: '构建成功',
jenkinsUrl: "${JENKINS_URL}" jenkinsUrl: "${JENKINS_URL}"
*/
} }
failure { failure {
echo 'This will run only if failed' echo 'This will run only if failed'