jenkinsci/ec2-plugin — pull request #119 by timor-raiman (2014-11-20 23:58:05+00:00)
Title: Resolve [JENKINS-25721] user-data mangling in spot instance slaves breaks cloudinit

This maintains backward compatibility while alowing having a scrip in the user-data, where certain fields are replaced by JENKINS_URL and SLAVE_NAME

There are two modes of operation - the backwards compatible way and the cloud-init based way.