diff --git a/pom.xml b/pom.xml index c6c3d5465..805399b20 100644 --- a/pom.xml +++ b/pom.xml @@ -77,7 +77,7 @@ THE SOFTWARE. 999999-SNAPSHOT - 2.414.3 + 2.452.3 jenkinsci/${project.artifactId}-plugin 1626 @@ -201,8 +201,8 @@ THE SOFTWARE. io.jenkins.tools.bom - bom-2.414.x - 2982.vdce2153031a_0 + bom-2.452.x + 3208.vb_21177d4b_cd9 import pom diff --git a/src/main/resources/hudson/plugins/ec2/EC2Cloud/computerSet.jelly b/src/main/resources/hudson/plugins/ec2/EC2Cloud/computerSet.jelly index b8f540ab2..54c968f11 100644 --- a/src/main/resources/hudson/plugins/ec2/EC2Cloud/computerSet.jelly +++ b/src/main/resources/hudson/plugins/ec2/EC2Cloud/computerSet.jelly @@ -22,28 +22,32 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --> - + + - - - - - - - + + + + + + + + + + + diff --git a/src/main/resources/hudson/plugins/ec2/EC2Cloud/provision.js b/src/main/resources/hudson/plugins/ec2/EC2Cloud/provision.js new file mode 100644 index 000000000..82e1459e0 --- /dev/null +++ b/src/main/resources/hudson/plugins/ec2/EC2Cloud/provision.js @@ -0,0 +1,8 @@ +Behaviour.specify("[data-type='ec2-provision']", 'ec2-provision', -99, function(e) { + e.addEventListener("click", function (event) { + const form = document.getElementById(e.dataset.form); + form.querySelector("[name='template']").value = e.dataset.url; + buildFormTree(form); + form.submit(); + }); +}); \ No newline at end of file