Skip to content

Commit 9095bc9

Browse files
committedApr 12, 2023
Add more AWS duration
Signed-off-by: Zelin Hao <zelinhao@amazon.com>
1 parent a72ce9b commit 9095bc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎jenkins/packer/packer-build.jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ pipeline {
5858

5959
// Start to build packer
6060
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) {
61+
withAWS(role: 'opensearch-packer', roleAccount: "${AWS_ACCOUNT_PUBLIC}", duration: 7200, roleSessionName: 'jenkins-session', useNode: true) {
6262
sh ("cd packer && packer build -color=false $PACKER_AGENT_JSON_NAME_SUBSTITUTE")
6363
}
6464
}

0 commit comments

Comments
 (0)