forked from lsst-ts/ts_Dockerfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile.salobj_hook
27 lines (26 loc) · 936 Bytes
/
Jenkinsfile.salobj_hook
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
pipeline {
agent any
environment {
registryCredential = "dockerhub-lssttsadmin"
dockerImageNameMaster = "lsstts/salobj:master"
dockerImageNameDevelop = "lsstts/salobj:develop"
dockerImageNameBuild = "lsstts/salobj:b${BUILD_NUMBER}"
dockerImageMaster = ""
dockerImageDevelop = ""
dockerImageBuild = ""
base_image_tag = "${base_image_tag}"
branch_name = "${GWBT_BRANCH}"
}
stages {
stage("Build") {
steps {
sh "printenv"
}
}
}
// post {
// failure {
// mail bcc: '', body: "<b>Example</b><br>Project: ${env.JOB_NAME} <br>Build Number: ${env.BUILD_NUMBER} <br> URL de build: ${env.BUILD_URL}", cc: '', charset: 'UTF-8', from: '', mimeType: 'text/html', replyTo: '', subject: "ERROR CI: Project name -> ${env.JOB_NAME}", to: "[email protected]";
// }
// }
}