aboutsummaryrefslogtreecommitdiffstats
path: root/Jenkinsfile-itest
diff options
context:
space:
mode:
authorMartin Stockhammer <martin.stockhammer@ars.de>2018-10-29 11:07:54 +0100
committerMartin Stockhammer <martin.stockhammer@ars.de>2018-10-29 11:08:23 +0100
commit6e5f4e80dda6b3ef8934e3c44f046ba89ff692fd (patch)
treef7774a3a84732b6e8af6c44e862733ba7d14416c /Jenkinsfile-itest
parentdf330893d73f43428c733a532236d98d57a5b90f (diff)
downloadarchiva-6e5f4e80dda6b3ef8934e3c44f046ba89ff692fd.tar.gz
archiva-6e5f4e80dda6b3ef8934e3c44f046ba89ff692fd.zip
Cleaning ci workspace only if successful to allow investigation
Diffstat (limited to 'Jenkinsfile-itest')
-rw-r--r--Jenkinsfile-itest5
1 files changed, 1 insertions, 4 deletions
diff --git a/Jenkinsfile-itest b/Jenkinsfile-itest
index 94f9b2e82..075741432 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']]
}
}