We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a72ce9b commit 9095bc9Copy full SHA for 9095bc9
jenkins/packer/packer-build.jenkinsfile
@@ -58,7 +58,7 @@ pipeline {
58
59
// Start to build packer
60
withCredentials([string(credentialsId: 'jenkins-aws-account-public', variable: 'AWS_ACCOUNT_PUBLIC')]) {
61
- withAWS(role: 'opensearch-packer', roleAccount: "${AWS_ACCOUNT_PUBLIC}", duration: 900, roleSessionName: 'jenkins-session', useNode: true) {
+ withAWS(role: 'opensearch-packer', roleAccount: "${AWS_ACCOUNT_PUBLIC}", duration: 7200, roleSessionName: 'jenkins-session', useNode: true) {
62
sh ("cd packer && packer build -color=false $PACKER_AGENT_JSON_NAME_SUBSTITUTE")
63
}
64
0 commit comments