Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
1 view
in DevOps and Agile by (29.3k points)

Do you know how to execute AWS CLI command inside a Jenkinsfile in order to build a pipeline? I didn't find any plugins

1 Answer

0 votes
by (50.2k points)

For this problem, you need to install aws cli on your server and make sure the Jenkins user has permissions to run it. Or simply use the Amazon AMI when creating the EC2 instance, it comes with the aws cli. Assign a role in the instance with the appropriate policy. ( it is simpler than using user key in aws configure )

Browse Categories

...