Skip to content

Commit

Permalink
[JENKINS-74031] Migrate legacy checkUrl attributes in `SSHBuildWrap…
Browse files Browse the repository at this point in the history
…per/global.jelly` (#25)
  • Loading branch information
shlomomdahan authored Nov 8, 2024
1 parent 333f1d5 commit a494de6
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
description="${%SSH sites that projects will want to connect}">
<f:repeatable var="site" name="sites" items="${descriptor.sites}">
<table width="100%">
<f:entry title="${%Hostname}" help="/plugin/ssh/help-hostname.html">
<f:textbox name="hostname" value="${site.hostname}" checkUrl="'${rootURL}/descriptorByName/org.jvnet.hudson.plugins.SSHBuildWrapper/checkHostname?hostname='+escape(this.value)" />
<f:entry title="${%Hostname}" field="hostname" help="/plugin/ssh/help-hostname.html">
<f:textbox/>
</f:entry>
<f:entry title="${%Port}" help="/plugin/ssh/help-port.html">
<f:textbox name="port" value="${site.port}"/>
</f:entry>

<f:entry title="${%Credentials}">
<c:select name="credentialId" field="credentialId" value="${site.credentialId}" checkUrl="'${rootURL}/descriptorByName/org.jvnet.hudson.plugins.SSHBuildWrapper/checkCredentialId?credentialId='+escape(this.value)" />
<f:entry title="${%Credentials}" field="credentialId">
<c:select/>
</f:entry>

<f:entry title="${%Pty}" help="/plugin/ssh/help-pty.html">
Expand Down

0 comments on commit a494de6

Please sign in to comment.