Skip to content

Commit

Permalink
Fix how we stash Statusgo.framework
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Sokołowski <jakub@status.im>
  • Loading branch information
mandrigin authored and jakubgs committed Feb 1, 2019
1 parent 12f459b commit d7b5267
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions _assets/ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ pipeline {
stage('Compile') { steps { dir(env.STATUS_PATH) {
sh 'make statusgo-android'
sh "cp build/bin/statusgo.aar ${destAndroid}/status-go-android-${lib.suffix()}.aar"
stash(name: 'android', includes: "${env.STATUS_PATH}/build/bin/statusgo.aar")
} } }

stage('Archive') { steps {
stash(name: 'android', includes: "${env.STATUS_PATH}/build/bin/statusgo.aar")
archiveArtifacts("pkg-android/status-go-android-${lib.suffix()}.aar")
} }

Expand Down Expand Up @@ -124,7 +124,9 @@ pipeline {
} } }

stage('Archive') { steps {
stash(name: 'ios', includes: "${env.STATUS_PATH}/build/bin/status-go-ios.zip")
dir("${env.STATUS_PATH}/Statusgo.framework") {
stash(name: 'ios', includes: '**')
}
archiveArtifacts("pkg-ios/status-go-ios-${lib.suffix()}.zip")
} }

Expand Down

0 comments on commit d7b5267

Please sign in to comment.