Ship to s#
This commit is contained in:
parent
081fe41c82
commit
70bb018cc6
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user