jenkinsci / amazon-ecs-plugin

Amazon EC2 Container Service Plugin for Jenkins
https://plugins.jenkins.io/amazon-ecs
MIT License
192 stars 226 forks source link

Mark task with TAG #300

Open charbl opened 1 year ago

charbl commented 1 year ago

What feature do you want to see added?

So, I see now that you can add tags to the ECS agent templates. Can this reference an environment variable for the value? I am looking to "Tag" the job running in the ECS agent .... Jenkins job targets ECS on-demand worker (ECS spins up instance from plugin and template), but I want the Job to mark the task with a tag. We have several diff orgs that use a single instance of Jenkins which offers On-Demand agents. As org one runs a job (on-demand ECS), I would like to mark (tag) that task with org one. I want to break down usage across the orgs when it comes to usage and cost. Can we do this now? If not, can we add?

Upstream changes

No response

Prithivi-Rajan commented 1 year ago

This was merged as part of Version: 1.47

https://github.com/jenkinsci/amazon-ecs-plugin/pull/274