Dynamic AMI ID w/EC2 Plugin

18 views
Skip to first unread message

Dan Tehranian

unread,
Aug 31, 2015, 8:00:35 PM8/31/15
to Jenkins Users
Hi there,

I've been using the Amazon EC2 plugin to provision machines on-demand. It seems that the plugin only allows VM image IDs (AMI id) to be statically specified in the "Configure System" area of Jenkins' management GUI.

Does anyone know how I could use dynamic AMI IDs? Ex: I'll create a custom AMI using Packer's EC2 builder, get the AMI ID from that new AMI, and pass that as a build parameter to another job which can spin up instances of that AMI.

Thanks,
Dan

Reply all
Reply to author
Forward
0 new messages