How do I go about running aws cli commands from the ecs (fargate) agent task (jenkins/inbound-agent) using the amazon-ecs plugin? Specifically updating the task definitions image after a build.
Thanks!
How do I go about running aws cli commands from the ecs (fargate) agent task (jenkins/inbound-agent) using the amazon-ecs plugin? Specifically updating the task definitions image after a build.
Thanks!
sh('aws ... do thingie')
?
if you are asking because the agent doesn’t have aws cli in it. You can extend the agent yourself
FROM jenkins/inbound-agent
RUN apt-get ...
or use the Jenkins Tools system to install it as needed.