ソースを参照

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']]
}

}

読み込み中…
キャンセル
保存