forked from iverberk/jenkins-nomad
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing Issue with Orphaned Agents and configurable startup timeout (#1)…
… (#37) * Fixing Issue with Orphaned Agents and configurable startup timeout (#1) Adding Configurable Agent Startup Timeout and Fixing bug the resulted in Agents being orphaned on the Jenkins UI * refactor to enable editing the agent after it has started (#2) * refactor to enable editing the agent after it has started * downgrading so it runs in current version we are running * Update .gitignore * Delete config.yml * commiting fix to SECURITY-1058 * Update src/main/java/org/jenkinsci/plugins/nomad/NomadCloud.java Co-Authored-By: aphill70 <aphill70@gmail.com> * updating per code review * fixing messed of conflict resolution * had the wrong import
- Loading branch information
1 parent
fe2cc94
commit 93ea215
Showing
14 changed files
with
117 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,11 @@ | |
target/ | ||
work/ | ||
nomad.iml | ||
.project | ||
.settings/ | ||
.factorypath | ||
.classpath | ||
.vscode/ | ||
.vagrant/ | ||
Vagrantfile | ||
circleci/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 14 additions & 4 deletions
18
src/main/resources/org/jenkinsci/plugins/nomad/NomadSlave/configure-entries.jelly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,31 @@ | ||
<?jelly escape-by-default='true'?> | ||
|
||
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"> | ||
|
||
<table width="100%"> | ||
<f:entry title="${%Cloud Name}" field="cloudName"> | ||
<f:readOnlyTextbox /> | ||
</f:entry> | ||
|
||
<f:entry title="Labels" field="labelString"> | ||
<f:entry title="${%Labels}" field="labelString"> | ||
<f:textbox/> | ||
</f:entry> | ||
|
||
<f:slave-mode name="mode" node="${instance}" /> | ||
|
||
<f:entry title="${%Remote FS}" field="remoteFS"> | ||
<f:readOnlyTextbox /> | ||
</f:entry> | ||
|
||
<f:entry title="Number of executors" field="numExecutors"> | ||
<f:textbox/> | ||
</f:entry> | ||
|
||
<f:entry title="Idle termination time" field="idleTerminationInMinutes"> | ||
<f:entry title="Idle termination time (minutes)" field="idleTerminationInMinutes"> | ||
<f:textbox/> | ||
</f:entry> | ||
|
||
<f:entry title="Reusable"> | ||
<f:checkbox name="reusable" field="reusable" default="true" value="${instance.reusable}" /> | ||
</f:entry> | ||
</table> | ||
|
||
</j:jelly> |
Oops, something went wrong.