// sh 'git config --global --add safe.directory $(pwd)'
// sh '/usr/local/bin/xuanimbot --users "$(git show -s --format=%ce)" --title "ztf unit test failure" --url "${BUILD_URL}" --content "ztf unit test failure, please check it" --debug --custom'
sh'/usr/local/bin/xuanimbot --users "$(git show -s --format=%ce)" --title "ztf unit test failure" --url "${BUILD_URL}" --content "ztf unit test failure, please check it" --debug --custom'
}
}
}
}// End UnitTest
stage("SonarScan"){
...
...
@@ -53,14 +53,14 @@ pipeline {
}
}
// post {
// failure {
// container('xuanimbot') {
// sh 'git config --global --add safe.directory $(pwd)'