Jenkins: Set build ID for Coveralls
@@ -914,6 +914,7 @@ kill `pidof dbus-daemon`
}
if(updateCoveralls) {
withCredentials([string(credentialsId: 'coveralls-repo-token', variable: 'REPO_TOKEN')]) {
+ withEnv(["TRAVIS_JOB_ID=$BUILD_NUMBER"]) {
sh("""\
coveralls -b '${buildDir}' \
-t $REPO_TOKEN \
@@ -922,6 +923,7 @@ coveralls -b '${buildDir}' \
""")
}
}
+ }
if(testMem || testNokdb || testAll) {
xunitUpload("${buildDir}/Testing/**/*.xml")
}
