Update 'Jenkinsfile'
This commit is contained in:
parent
86f2fbcc67
commit
7cc7aeec56
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -38,13 +38,13 @@ pipeline{
|
|||||||
// top-level of the Pipeline, in the same workspace,
|
// top-level of the Pipeline, in the same workspace,
|
||||||
// rather than on a new node entirely:
|
// rather than on a new node entirely:
|
||||||
reuseNode true
|
reuseNode true
|
||||||
registryUrl 'http://workstation:5000/'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh '''
|
sh '''
|
||||||
printenv
|
printenv
|
||||||
uname -a
|
uname -a
|
||||||
|
exit 1
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -68,4 +68,13 @@ pipeline{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
post {
|
||||||
|
//always {}
|
||||||
|
//success {}
|
||||||
|
failure {
|
||||||
|
mail bcc: '', body: "<b>Failure</b><br><br>Project: ${env.JOB_NAME} <br>Build Number: ${env.BUILD_NUMBER} <br> Build URL: ${env.BUILD_URL}", cc: '', charset: 'UTF-8', from: '', mimeType: 'text/html', replyTo: '', subject: "ERROR CI: ${env.JOB_NAME}", to: "mrsang@iohub.dev";
|
||||||
|
}
|
||||||
|
//unstable {}
|
||||||
|
//changed {}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user