This is an automated email from the ASF dual-hosted git repository. martin_s pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/archiva.git
commit 6e5f4e80dda6b3ef8934e3c44f046ba89ff692fd Author: Martin Stockhammer <[email protected]> AuthorDate: Mon Oct 29 11:07:54 2018 +0100 Cleaning ci workspace only if successful to allow investigation --- Jenkinsfile-itest | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Jenkinsfile-itest b/Jenkinsfile-itest index 94f9b2e..0757414 100644 --- a/Jenkinsfile-itest +++ b/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']] } }
