feat(jenkins): GH Checks for the PR
@@ -59,6 +59,7 @@ pipeline {
*/
stage('Build') {
steps {
+ withGithubNotify(context: 'Build', tab: 'artifacts') {
deleteDir()
unstash 'source'
dir("${BASE_DIR}"){
@@ -77,6 +78,7 @@ pipeline {
}
}
}
+ }
stage('Tests') {
failFast true
parallel {
@@ -96,6 +98,7 @@ pipeline {
expression { return params.test_ci }
}
steps {
+ withGithubNotify(context: 'Unit Tests', tab: 'tests') {
deleteDir()
unstash 'build'
dir("${BASE_DIR}"){
@@ -105,6 +108,7 @@ pipeline {
"""
}
}
+ }
post {
always {
reportTestResults()
@@ -127,12 +131,14 @@ pipeline {
expression { return params.smoketests_ci }
}
steps {
+ withGithubNotify(context: 'Smoke Tests 01', tab: 'tests') {
deleteDir()
unstash 'build'
dir("${BASE_DIR}"){
sh './scripts/jenkins/smoketests-01.sh'
}
}
+ }
post {
always {
reportTestResults()
@@ -155,12 +161,14 @@ pipeline {
expression { return params.smoketests_ci }
}
steps {
+ withGithubNotify(context: 'Smoke Tests 02', tab: 'tests') {
deleteDir()
unstash 'build'
dir("${BASE_DIR}"){
sh './scripts/jenkins/smoketests-02.sh'
}
}
+ }
post {
always {
reportTestResults()
@@ -194,6 +202,7 @@ pipeline {
}
}
steps {
+ withGithubNotify(context: 'Benchmarks', tab: 'artifacts') {
deleteDir()
unstash 'build'
dir("${BASE_DIR}"){
@@ -206,6 +215,7 @@ pipeline {
sh './scripts/jenkins/run-benchmarks.sh'
}
}
+ }
post {
always {
archiveArtifacts(allowEmptyArchive: true,
@@ -231,6 +241,7 @@ pipeline {
expression { return params.doc_ci }
}
steps {
+ withGithubNotify(context: 'Javadoc') {
deleteDir()
unstash 'build'
dir("${BASE_DIR}"){
@@ -243,6 +254,7 @@ pipeline {
}
}
}
+ }
/**
Build the documentation.
*/
