diff --git a/Jenkinsfile b/Jenkinsfile index becf43e..0497200 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -36,6 +36,10 @@ if (BRANCH_TEST=="shibboleth-production"){ sh '/usr/local/bin/packer build shibboleth-appliance.json' + stage 'Sync appliances to S3 bucket' + + sh 'aws s3 sync /builds s3://internet2-appliance-us-west-1' + } catch (err) { @@ -77,6 +81,10 @@ if (BRANCH_TEST=="shibboleth-production"){ sh '/usr/local/bin/packer build comanage-appliance.json' + stage 'Sync appliances to S3 bucket' + + sh 'aws s3 sync /builds s3://internet2-appliance-us-west-1' + } catch (err) {