ci/steps.groovy
changeset 294 0f3980335d2b
parent 283 e6e50f9b9987
child 295 a04034567c92
equal deleted inserted replaced
293:5271067b709f 294:0f3980335d2b
   256 
   256 
   257 
   257 
   258 def artifacts() {
   258 def artifacts() {
   259     matrix ( configurations ) {
   259     matrix ( configurations ) {
   260         stage ( "Artifacts - {${env.BUILD_TARGET}}") {
   260         stage ( "Artifacts - {${env.BUILD_TARGET}}") {
   261             sh "ruby build.rb --project \"stx:jv-branch\" --build-target ${env.BUILD_TARGET} artifacts"
   261             if (env.BUILD_TARGET != 'i686-pc-mingw32' && env.BUILD_TARGET != 'i686-pc-linux-gnu') {
   262             archiveArtifacts artifacts: "artifacts/*build${env.BUILD_NUMBER}*.zip, artifacts/*build${env.BUILD_NUMBER}*.bz2, artifacts/*build${env.BUILD_NUMBER}*.sha256", fingerprint: true//, onlyIfSuccessful: true
   262                 sh "ruby build.rb --project \"stx:jv-branch\" --build-target ${env.BUILD_TARGET} artifacts"
       
   263                 archiveArtifacts artifacts: "artifacts/*build${env.BUILD_NUMBER}*.zip, artifacts/*build${env.BUILD_NUMBER}*.bz2, artifacts/*build${env.BUILD_NUMBER}*.sha256", fingerprint: true//, onlyIfSuccessful: true
       
   264             } else {
       
   265                 echo "Artifacts for ${env.BUILD_TARGET} are no longer archived. Use 64bit."
       
   266             }
   263         }
   267         }
   264     }
   268     }
   265 }
   269 }
   266 
   270 
   267 /**
   271 /**