1
0
Fork 0

upgraded pipeline for Phabricator

This commit is contained in:
Christian Kühnel 2019-10-23 12:27:28 -07:00
parent 9cc1cac48c
commit 63461e41fa

View file

@ -44,14 +44,33 @@ pipeline {
sh 'python3 ${WORKSPACE}/llvm-premerge-checks/scripts/phabtalk/apply_patch.py' sh 'python3 ${WORKSPACE}/llvm-premerge-checks/scripts/phabtalk/apply_patch.py'
} }
} }
stage('CMake') { stage('CMake') {
steps { steps {
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"
} }
} }
} }