One Comment

  1. Set Balu

    Thank you, to make it work…

    withAWS(credentials:’main Role’) {
    withAWS(role:’assume_admin’, roleAccount:’assume_role_account’, roleSessionName: ‘my-custom-session-name’) {
    sh “aws s3 ls”
    }
    }

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.