Disable SBT deploy and add Jenkins artifact archival

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/commit/18068fb1
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/tree/18068fb1
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/diff/18068fb1

Branch: refs/heads/master
Commit: 18068fb1160fb34862d95dfa06adc4d68740c3b5
Parents: 72fe94f
Author: Matt Sicker <[email protected]>
Authored: Thu Mar 29 11:09:19 2018 -0500
Committer: Matt Sicker <[email protected]>
Committed: Thu Mar 29 11:09:19 2018 -0500

----------------------------------------------------------------------
 Jenkinsfile | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/blob/18068fb1/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 7825a9f..a58a304 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -28,6 +28,7 @@ pipeline {
             steps {
                 ansiColor('xterm') {
                     sh './sbt -batch "+ compile"'
+                    archiveArtifacts artifacts: 'target/**/*.jar', 
fingerprint: true, onlyIfSuccessful: true
                 }
             }
         }
@@ -38,13 +39,17 @@ pipeline {
                 }
             }
         }
+        // FIXME: LOG4J2-2291
+        /*
         stage('Deploy') {
+            when { branch 'master' }
             steps {
                 ansiColor('xterm') {
                     sh './sbt -batch "+ publish"'
                 }
             }
         }
+        */
     }
 }
 

Reply via email to