diff --git a/Jenkinsfile b/Jenkinsfile index 18d94e1..77ada7c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,6 +1,7 @@ node('ubuntu18.04-OnDemand'){ stage('scm checkout'){ + cleanWs() checkout scm } @@ -16,6 +17,7 @@ stage('archeive artifacts'){ cp -r rendezvous/target/rendezvous*.war cri cp -r to0client/target/to0client*.jar cri ''' + zip zipFile: 'cri.zip', archive: false, dir: 'cri' archiveArtifacts artifacts: 'cri.zip', fingerprint: true, allowEmptyArchive: false }