Skip to content

Commit

Permalink
fix inconsistent indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoblitt committed Mar 29, 2016
1 parent c6fc4b4 commit 9ae2a6f
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions files/puppet_helper.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -855,9 +855,9 @@ class Actions {
* Print the number of executors for the master
*/
void get_num_executors() {
def j = Jenkins.getInstance()
def n = j.getNumExecutors()
out.println(n)
def j = Jenkins.getInstance()
def n = j.getNumExecutors()
out.println(n)
}

////////////////////////
Expand All @@ -867,9 +867,9 @@ class Actions {
* Set the number of executors for the master
*/
void set_num_executors(String n) {
def j = Jenkins.getInstance()
j.setNumExecutors(n.toInteger())
j.save()
def j = Jenkins.getInstance()
j.setNumExecutors(n.toInteger())
j.save()
}

////////////////////////
Expand All @@ -879,9 +879,9 @@ class Actions {
* Print the portnumber of the slave agent
*/
void get_slaveagent_port() {
def j = Jenkins.getInstance()
def n = j.getSlaveAgentPort()
out.println(n)
def j = Jenkins.getInstance()
def n = j.getSlaveAgentPort()
out.println(n)
}

////////////////////////
Expand All @@ -891,9 +891,9 @@ class Actions {
* Set the portnumber of the slave agent
*/
void set_slaveagent_port(String n) {
def j = Jenkins.getInstance()
j.setSlaveAgentPort(n.toInteger())
j.save()
def j = Jenkins.getInstance()
j.setSlaveAgentPort(n.toInteger())
j.save()
}

/////////////////////////
Expand All @@ -910,8 +910,8 @@ class Actions {
catch (MissingMethodException me) {
out.println("Found resource is not a job, skipping.")
}
}
} // class Actions
}
} // class Actions

///////////////////////////////////////////////////////////////////////////////
// CLI Argument Processing
Expand Down

0 comments on commit 9ae2a6f

Please # to comment.