Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Commit

Permalink
Upgraded jswarm client to latest available, and made it a config flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jaypoulz committed Jul 10, 2019
1 parent 0c1f6d3 commit 55a22d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/com/redhat/ci/provisioner/ProvisioningConfig.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ class ProvisioningConfig {
// host as a slave.
String jenkinsMasterUrl = JENKINS_MASTER_URL_DEFAULT

// Version of the jswarm executable
String jswarmVersion = '3.17'

// Extra arguments passed to the jswarm call.
// Allows for the connection to be tunneled in the case of an OpenShift hosted Jenkins.
String jswarmExtraArgs = JSWARM_EXTRA_ARGS_DEFAULT
Expand Down
2 changes: 1 addition & 1 deletion src/com/redhat/ci/provisioners/AbstractProvisioner.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ abstract class AbstractProvisioner implements Provisioner {
'jenkins_master_url':"${config.jenkinsMasterUrl}",
'jenkins_slave_username':"${script.JENKINS_SLAVE_USERNAME}",
'jenkins_slave_password':"${script.JENKINS_SLAVE_PASSWORD}",
'jswarm_version':'3.9',
'jswarm_version':"${config.jswarmVersion}",
'jswarm_filename':'swarm-client-{{ jswarm_version }}.jar',
'jswarm_extra_args':"${config.jswarmExtraArgs}",
'jenkins_slave_repositories':[[
Expand Down

0 comments on commit 55a22d4

Please sign in to comment.