Thanks Chris! Works like a charm.
I am using this set of scripts to migrate 700+ jobs from Hudson to Jenkins,
so this was a show stopper.
John
On Wed, Jan 23, 2013 at 6:08 AM, cjo wrote:
>
> You will also need to alter the canRoam element from true to false as this
> controls whether projec
You will also need to alter the canRoam element from true to false as this
controls whether project can be built on any node, or just ones matching
the labels.
true --- use any nodes
false --- use defined nodes/labels only
Chris
On Tuesday, January 22, 2013 11:13:24 PM UTC, JohnA wrote:
>
> R
Richard,
Thanks for the reply...
I use the "#{@hosturl}/job/#{jobname}/config.xml" url which does not
require a reload of the config file. That is mentioned in the Jenkins doc
page and in google hits .
And I do have other settings working just fine (for example "Block build
when upstream project
It might also depends on the caching added lately to prevent reading too much
unnecessary information into memory.
Note that I'm not in front of my computer so what I'm saying in this mail and
the last one are somewhat speculations, but some hints on where to look at now
to see if you can solve
it is probably because you need to either reload the config file (I wouldn't do
it that way), update the Job object in memory of jenkins or update the plugin
object responsible for that option and behavior.
The config is loaded on start and saved when change are made to the internal
object from
Update:
I tried a quick change:
- find the scm node and
- insert the assignedNode element after it.
Still no joy.
The only thing left that I can see, is there is a missing "\n" after the
when my script inserts the new node:
tm9
while Jenkins adds the newline:
tm9
That would imply
Hi,
I'm writing some scripts to keep track of and update the nodes my jobs use.
I've come across a problem that I can't seem to resolve. This is a rather
long post, but I want to make sure I give you the info you need.
If the "Restrict where this project can be run" is checked on the web page,
a