ci/steps.groovy
changeset 294 0f3980335d2b
parent 283 e6e50f9b9987
child 295 a04034567c92
--- a/ci/steps.groovy	Tue Jun 23 01:01:01 2020 +0100
+++ b/ci/steps.groovy	Tue Jun 23 12:16:02 2020 +0100
@@ -258,8 +258,12 @@
 def artifacts() {
     matrix ( configurations ) {
         stage ( "Artifacts - {${env.BUILD_TARGET}}") {
-            sh "ruby build.rb --project \"stx:jv-branch\" --build-target ${env.BUILD_TARGET} artifacts"
-            archiveArtifacts artifacts: "artifacts/*build${env.BUILD_NUMBER}*.zip, artifacts/*build${env.BUILD_NUMBER}*.bz2, artifacts/*build${env.BUILD_NUMBER}*.sha256", fingerprint: true//, onlyIfSuccessful: true
+            if (env.BUILD_TARGET != 'i686-pc-mingw32' && env.BUILD_TARGET != 'i686-pc-linux-gnu') {
+                sh "ruby build.rb --project \"stx:jv-branch\" --build-target ${env.BUILD_TARGET} artifacts"
+                archiveArtifacts artifacts: "artifacts/*build${env.BUILD_NUMBER}*.zip, artifacts/*build${env.BUILD_NUMBER}*.bz2, artifacts/*build${env.BUILD_NUMBER}*.sha256", fingerprint: true//, onlyIfSuccessful: true
+            } else {
+                echo "Artifacts for ${env.BUILD_TARGET} are no longer archived. Use 64bit."
+            }
         }
     }
 }