+1 vote
1 view
in Devops and Agile by (28.1k 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 (48k 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 )

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...