[JIRA] Created: (HUDSON-5702) Update runtime hudson model after dynamically "updating" an existing job

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (HUDSON-5702) Update runtime hudson model after dynamically "updating" an existing job

Hudson issues mailing list
Update runtime hudson model after dynamically "updating" an existing job
------------------------------------------------------------------------

                 Key: HUDSON-5702
                 URL: http://issues.hudson-ci.org/browse/HUDSON-5702
             Project: Hudson
          Issue Type: Bug
          Components: core
    Affects Versions: current
         Environment: Windows Server 2003 SP 2
            Reporter: levante


I have installed the Join Trigger plugin on my Hudson (version 1.336) which will allow job X to run job Y after all downstream jobs from job X have completed.  Once in a while, however, I don't want job X to join any other jobs.

One way of implementing this, is to use Groovy to identify and delete job X from the runtime model, and then use the hudson-cli to create-job, passing in a config.xml for job X that does NOT contain the Join trigger configuration:

<join.JoinTrigger>...</join.JoinTrigger>

Even though I see job X's configuration updated correctly on the Hudson GUI, the runtime model doesn't get updated with the new configuration.  job X still joins with it's jobs.

The only way around this is to explicitly reload all configurations from disk (which defeats the purpose of runtime adjustments).

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]