浏览代码

Cleaning ci workspace only if successful to allow investigation

pull/46/head
Martin Stockhammer 5 年前
父节点
当前提交
6e5f4e80dd
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1
    4
      Jenkinsfile-itest

+ 1
- 4
Jenkinsfile-itest 查看文件

@@ -129,7 +129,6 @@ pipeline {
// -Pit-js: Runs the Selenium tests
// -Pchrome: Activates the Selenium Chrome Test Agent
sh "mvn clean install -B -V -U -e -fae -Dmaven.compiler.fork=true -DmaxWaitTimeInMs=2000 -DseleniumRemote=true -Pci-server -Pit-js -Pchrome -pl :archiva-webapp-test -DtrimStackTrace=false"

}
}
}
@@ -150,9 +149,6 @@ pipeline {
unstable {
notifyBuild("Unstable Build")
}
always {
cleanWs deleteDirs: true, notFailBuild: true, patterns: [[pattern: '.repository', type: 'EXCLUDE']]
}
success {
script {
def previousResult = currentBuild.previousBuild?.result
@@ -160,6 +156,7 @@ pipeline {
notifyBuild("Fixed")
}
}
cleanWs deleteDirs: true, notFailBuild: true, patterns: [[pattern: '.repository', type: 'EXCLUDE']]
}

}

正在加载...
取消
保存