Fix dir step
@@ -72,11 +72,13 @@ pipeline {
when {
branch 'master'
}
+ steps {
+ echo 'Test & Build'
+
dir("local-snapshots-dir/") {
deleteDir()
}
- steps {
- echo 'Test & Build'
+
sh "mvn $MAVEN_PARAMS -DaltDeploymentRepository=snapshot-repo::default::file:./local-snapshots-dir clean deploy"
}
post {
