diff --git a/tests/jenkins/jobs/AssembleManifest_rpm_Jenkinsfile.txt b/tests/jenkins/jobs/AssembleManifest_rpm_Jenkinsfile.txt index 0438df6dfa..5391daaf97 100644 --- a/tests/jenkins/jobs/AssembleManifest_rpm_Jenkinsfile.txt +++ b/tests/jenkins/jobs/AssembleManifest_rpm_Jenkinsfile.txt @@ -17,7 +17,7 @@ signArtifacts.withCredentials([configs], groovy.lang.Closure) signArtifacts.readJSON({text=configs}) signArtifacts.echo(RPM Add Sign) - signArtifacts.withAWS({role=some-role, roleAccount=1234, duration=900, roleSessionName=jenkins-signing-session}, groovy.lang.Closure) + signArtifacts.withAWS({role=jenki-jenki-asm-assume-role, roleAccount=1234, duration=900, roleSessionName=jenkins-signing-session}, groovy.lang.Closure) signArtifacts.sh( set -e set +x diff --git a/tests/jenkins/jobs/SignArtifacts_Jenkinsfile.txt b/tests/jenkins/jobs/SignArtifacts_Jenkinsfile.txt index fc148e13ca..f3230d68e8 100644 --- a/tests/jenkins/jobs/SignArtifacts_Jenkinsfile.txt +++ b/tests/jenkins/jobs/SignArtifacts_Jenkinsfile.txt @@ -27,7 +27,7 @@ signArtifacts.withCredentials([configs], groovy.lang.Closure) signArtifacts.readJSON({text=configs}) signArtifacts.echo(RPM Add Sign) - signArtifacts.withAWS({role=some-role, roleAccount=null, duration=900, roleSessionName=jenkins-signing-session}, groovy.lang.Closure) + signArtifacts.withAWS({role=jenki-jenki-asm-assume-role, roleAccount=null, duration=900, roleSessionName=jenkins-signing-session}, groovy.lang.Closure) signArtifacts.sh( set -e set +x diff --git a/vars/signArtifacts.groovy b/vars/signArtifacts.groovy index 373687234b..57283a2c5c 100644 --- a/vars/signArtifacts.groovy +++ b/vars/signArtifacts.groovy @@ -24,7 +24,7 @@ void call(Map args = [:]) { echo 'RPM Add Sign' - withAWS(role: 'some-role', roleAccount: "${signingAccount}", duration: 900, roleSessionName: 'jenkins-signing-session') { + withAWS(role: 'jenki-jenki-asm-assume-role', roleAccount: "${signingAccount}", duration: 900, roleSessionName: 'jenkins-signing-session') { sh """ set -e set +x