提交 9a47c3b7 编写于 作者: Z zhaoke

Romove unit test from jenkinsfile

上级 12b778d1
......@@ -24,22 +24,22 @@ pipeline {
stage("Test") {
parallel {
stage("UnitTest") {
steps {
container('golang') {
sh 'CGO_ENABLED=0 go test ./...'
}
}
// stage("UnitTest") {
// steps {
// container('golang') {
// sh 'CGO_ENABLED=0 go test ./...'
// }
// }
post {
failure {
container('xuanimbot') {
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'
}
}
}
} // End UnitTest
// post {
// failure {
// container('xuanimbot') {
// 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'
// }
// }
// }
// } // End UnitTest
stage("SonarScan") {
steps {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册