Need help with your Jenkins questions?
Visit https://community.jenkins.io/c/using...
Timecodes ⏱:
00:00 Introduction
00:18 Overview
01:06 Starting point
02:06 Install AWS CLI v2
03:58 Install awscredentials plugin
06:00 Create new pipeline job to use AWS CLI
07:12 Add aws ec2 describeinstances to pipeline
09:00 Add AWS_DEFAULT_REGION to pipeline
10:42 Create AWS credentials
13:22 Add withCredentials step to pipeline
16:33 Remove withCredentials and add credentials helper
21:04 Conclusion
#jenkins #aws #awscli
Information referenced in this video:
Gist:
https://gist.github.com/darinpope/cbd...
Jenkins LTS 2.289.1
https://www.jenkins.io/changelogstab...
Install the AWS CLI version 2 on Linux
https://docs.aws.amazon.com/cli/lates...
describeinstances
https://awscli.amazonaws.com/v2/docum...
Environment variables to configure the AWS CLI
https://docs.aws.amazon.com/cli/lates...
Supported Credentials Type
https://www.jenkins.io/doc/book/pipel...
CredentialsBindingHandler
https://www.jenkins.io/doc/developer/...
awscredentialsplugin issue 68
https://github.com/jenkinsci/awscred...
CloudBees on Twitter:
/ cloudbees
Darin on Twitter:
/ darinpope