Ship to s#

This commit is contained in:
Layla 2019-08-01 15:58:25 -04:00
parent 081fe41c82
commit 70bb018cc6

3
Jenkinsfile vendored
View File

@ -60,7 +60,7 @@ pipeline {
// Docker build flags are set via the getDockerBuildFlags() shared library.
sh "docker build ${getDockerBuildFlags()} -t ${env.DOCKER_REGISTRY}/${env.SERVICE}:${env.VERSION} ."
//sh "tar -czvf ${env.SERVICE}-${getVersion('-d')}.tar.gz deployer"
sh "tar -czvf ${env.SERVICE}-${env.VERSION}.tar.gz . --exclude='./.git'"
}
post{
// Update Git with status of build stage.
@ -86,6 +86,7 @@ pipeline {
}
}
}
sh "aws s3 cp dist/${env.SERVICE}-*.tar.gz s3://rbn-ops-pkg-us-east-1/${env.SERVICE}/${env.SERVICE}-${env.VERSION}.tar.gz"
}
post