Disable SBT deploy and add Jenkins artifact archival
diff --git a/Jenkinsfile b/Jenkinsfile
index 7825a9f..a58a304 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -28,6 +28,7 @@
steps {
ansiColor('xterm') {
sh './sbt -batch "+ compile"'
+ archiveArtifacts artifacts: 'target/**/*.jar', fingerprint: true, onlyIfSuccessful: true
}
}
}
@@ -38,13 +39,17 @@
}
}
}
+ // FIXME: LOG4J2-2291
+ /*
stage('Deploy') {
+ when { branch 'master' }
steps {
ansiColor('xterm') {
sh './sbt -batch "+ publish"'
}
}
}
+ */
}
}