Skip to content

Commit

Permalink
chore(jenkinsfile):Add updatecli-aws-credentials (#1482)
Browse files Browse the repository at this point in the history
* chore(jenkinsfile):Add updatecli-aws-credentials

Signed-off-by: jayfranco999 <[email protected]>

* fixup

Signed-off-by: jayfranco999 <[email protected]>

* fixup

Signed-off-by: jayfranco999 <[email protected]>

---------

Signed-off-by: jayfranco999 <[email protected]>
  • Loading branch information
jayfranco999 authored Oct 28, 2024
1 parent a9c0d8b commit 0426e1e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Jenkinsfile_updatecli
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
withCredentials([azureServicePrincipal('updatecli-azure-serviceprincipal')]) {
withCredentials([
azureServicePrincipal('updatecli-azure-serviceprincipal'),
string(credentialsId: 'updatecli-aws-access-key-id', variable: 'AWS_ACCESS_KEY_ID'),
string(credentialsId: 'updatecli-aws-secret-access-key', variable: 'AWS_SECRET_ACCESS_KEY')
]) {
if (env.BRANCH_IS_PRIMARY) {
updatecli(action: 'apply', updatecliAgentLabel: 'linux-amd64-docker', cronTriggerExpression: '@daily')
} else {
Expand Down

0 comments on commit 0426e1e

Please sign in to comment.