Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Puppet helper slaveagentport #303

Merged
merged 2 commits into from
Aug 8, 2015

Conversation

rmestrum
Copy link

  • add get_slaveagent_port()/set_slaveagent_port() methods to puppet_helper
  • add slaveagentport param to jenkins class

These methods may be used to get/set the portnumber for the slave agent. Eg.:

    java -jar /usr/lib/jenkins/jenkins-cli.jar -s http://localhost:8080 groovy /usr/lib/jenkins/puppet_helper.groovy get_slaveagent_port

    java -jar /usr/lib/jenkins/jenkins-cli.jar -s http://localhost:8080 groovy /usr/lib/jenkins/puppet_helper.groovy set_slaveagent_port 42
@matthewbarr
Copy link
Contributor

You'd also want to add this to the documentation- at the very least to the init.pp documentation. All parameters need to be declared, and explained at the top of init.p

@rtyler rtyler added this to the 1.5.0 - Jennings milestone May 18, 2015
@jenkinsadmin
Copy link

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

@rmestrum rmestrum force-pushed the puppet_helper_slaveagentport branch from 16ea9c1 to 6318cfb Compare May 19, 2015 07:38
rtyler pushed a commit that referenced this pull request Aug 8, 2015
@rtyler rtyler merged commit 3d343dc into voxpupuli:master Aug 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants