Created
March 5, 2020 09:22
-
-
Save FyberEngineers/49959fb4c2705e2f49eab40ba1af00fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
step('Upload tar to s3 cli') { | |
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding', credentialsId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', accessKeyVariable: 'AWS_ACCESS_KEY_ID', secretKeyVariable: 'AWS_SECRET_ACCESS_KEY']]) { | |
sh "pip install --user awscli" | |
sh "sudo apt-get -y install awscli" | |
sh "aws s3 cp ./volcano/target/${tarName} s3://fullgc/tars/" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment