scoringloadbalancer

10 views
Skip to first unread message

Andrey Petruk

unread,
Jul 19, 2017, 6:36:03 AM7/19/17
to Jenkins Users
Hi ALL!

Need some things on next topic:
I want to use plugin https://wiki.jenkins.io/display/JENKINS/Scoring+Load+Balancer+plugin and need to set for slave node by Chef

  <nodeProperties>
    <jp.ikedam.jenkins.plugins.scoringloadbalancer.preferences.BuildPreferenceNodeProperty plugin="scoring-lo...@1.0.1">
      <preference>0</preference>
    </jp.ikedam.jenkins.plugins.scoringloadbalancer.preferences.BuildPreferenceNodeProperty>
  </nodeProperties>

so i can create new slaves by next xml body
<?xml version='1.0' encoding='UTF-8'?>
<slave>
<name>%s</name>
<description></description>
<remoteFS>%s</remoteFS>
<numExecutors>%s</numExecutors>
<mode>%s</mode>
<retentionStrategy class="hudson.slaves.RetentionStrategy$$Always"/>
<launcher class="hudson.slaves.JNLPLauncher"/>
<label>%s</label>
<nodeProperties>
<jp.ikedam.jenkins.plugins.scoringloadbalancer.preferences.BuildPreferenceNodeProperty plugin="scoring-lo...@1.0.1">
<preference>%s</preference>
</jp.ikedam.jenkins.plugins.scoringloadbalancer.preferences.BuildPreferenceNodeProperty>
</nodeProperties>
</slave>

But i can't update Properties on exit nodes...if someone works with scoring loadbalancer plugin or have some idea please share.


Thanks!








Reply all
Reply to author
Forward
0 new messages