Browse Source

add s3 uploads for artifacts

Steven Jacobs 1 year ago
parent
commit
833b5784be
1 changed files with 5 additions and 1 deletions
  1. 5 1
      Jenkinsfile

+ 5 - 1
Jenkinsfile

@@ -9,8 +9,12 @@ pipeline {
         }
     }
     post {
+            
         always {
-            archiveArtifacts artifacts: 'dist/**/*.gz'
+            archiveArtifacts(artifacts:'dist/**/*.gz')
+            withAWS(credentials:'s3-stj-static') {
+                s3Upload(file:'dist/', bucket:'stj-static', path:'qemu-images/linode/', acl:'PublicRead')
+            }
         }
     }
 }