diff --git a/Jenkinsfile b/Jenkinsfile index d6c4f5aa96940d50aa23bf7842ce7cbd68f6f674..2f480a158f3724c0475be1cfb8433dfb5dc47ab3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,6 +10,7 @@ pipeline { . $HOME/.bash_profile echo 1 | ./eosio_build.sh ''' + stash includes: 'build/**/*', name: 'buildUbuntu' } } stage('MacOS') { @@ -19,6 +20,7 @@ pipeline { . $HOME/.bash_profile echo 1 | ./eosio_build.sh ''' + stash includes: 'build/**/*', name: 'buildMacOS' } } stage('Fedora') { @@ -27,7 +29,8 @@ pipeline { sh ''' . $HOME/.bash_profile echo 1 | ./eosio_build.sh - ''' + ''' + stash includes: 'build/**/*', name: 'buildFedora' } } } @@ -37,6 +40,7 @@ pipeline { stage('Ubuntu') { agent { label 'Ubuntu' } steps { + unstash 'buildUbuntu' sh ''' . $HOME/.bash_profile cd build @@ -58,6 +62,7 @@ pipeline { stage('MacOS') { agent { label 'MacOS' } steps { + unstash 'buildMacOS' sh ''' . $HOME/.bash_profile cd build @@ -79,6 +84,7 @@ pipeline { stage('Fedora') { agent { label 'Fedora' } steps { + unstash 'buildFedora' sh ''' . $HOME/.bash_profile cd build