From a41c9775f5bc0a98df603cb4411b04f919fd8e8b Mon Sep 17 00:00:00 2001 From: Mason Packard Date: Wed, 31 Aug 2016 17:52:40 -0400 Subject: [PATCH] Sync the tar files to S3 bucket. --- Jenkinsfile | 8 ++++++++ 1 file changed, 8 insertions(+) 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) {