upgraded pipeline for Phabricator
This commit is contained in:
parent
9cc1cac48c
commit
63461e41fa
1 changed files with 21 additions and 2 deletions
21
Jenkins/Phabricator-pipeline/Jenkinsfile
vendored
21
Jenkins/Phabricator-pipeline/Jenkinsfile
vendored
|
@ -49,9 +49,28 @@ pipeline {
|
||||||
sh 'llvm-premerge-checks/scripts/run_cmake.sh'
|
sh 'llvm-premerge-checks/scripts/run_cmake.sh'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('ninja all') {
|
||||||
|
steps {
|
||||||
|
sh 'llvm-premerge-checks/scripts/run_ninja.sh all'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('ninja check') {
|
||||||
|
steps {
|
||||||
|
sh 'llvm-premerge-checks/scripts/run_ninja.sh check'
|
||||||
|
}
|
||||||
|
}
|
||||||
stage('ninja check-all') {
|
stage('ninja check-all') {
|
||||||
steps {
|
steps {
|
||||||
sh 'llvm-premerge-checks/scripts/run_ninja_check-all.sh'
|
sh 'llvm-premerge-checks/scripts/run_ninja.sh check-all'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
post {
|
||||||
|
always {
|
||||||
|
echo "Console log is available at https://results.new.llvm-merge-guard.org/${BUILD_ID}"
|
||||||
|
dir("${env.TARGET_DIR}") {
|
||||||
|
// copy console log to result folder
|
||||||
|
sh "wget -qO console-log.txt http://jenkins-ui.jenkins.svc.cluster.local:8080/job/${JOB_BASE_NAME}/${BUILD_NUMBER}/consoleText"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue