Update Jenkinsfile to archive debs
Copies debs from images and archives them
@@ -77,7 +77,12 @@ node ('master') {
}
stage("Archive Build artifacts") {
+ sh 'docker-compose -f docker-compose-installed.yaml build'
+ sh 'docker run -v $(pwd)/build/debs:/build sawtooth-seth-cli:$ISOLATION_ID cp /debs/sawtooth-seth-cli_0.2.0_amd64.deb /build'
+ sh 'docker run -v $(pwd)/build/debs:/build sawtooth-seth-tp:$ISOLATION_ID cp /debs/sawtooth-seth-tp_0.2.0_amd64.deb /build'
+ sh 'docker run -v $(pwd)/build/debs:/build sawtooth-seth-rpc:$ISOLATION_ID cp /debs/sawtooth-seth-rpc_0.2.0_amd64.deb /build'
archiveArtifacts artifacts: '*.tgz, *.zip', allowEmptyArchive: true
+ archiveArtifacts artifacts: 'build/debs/*.deb'
archiveArtifacts artifacts: 'docs/build/html/**, docs/build/latex/*.pdf', allowEmptyArchive: true
}
}
