![]() |
|
|
|
|
Change By:
|
Daniel Spilker
(26/Mar/15 5:31 PM)
|
|
Description:
|
After removing template inheritance from a job, the job is deleted and re-created. Thereby the job loses it's build history.
Initial DSL script with template inheritance
Use this steps to reproduce the problem
:
1. Run the seed job with the following config.
{code} job('test') { using('template') } {code}
Modified DSL script without inheritance:
2. Run the test job.
3. Run the seed job again with new config and set "Action for removed jobs" to "Delete".
{code} job('test') { } {code}
Seed job output: {code} Processing provided DSL script Existing templates: template Unreferenced templates: template Adding items: GeneratedJob{name='test'} Removing items: GeneratedJob{name='test', template='template'} {code}
4. The test job is deleted.
5. Run the seed job again without modifications.
6. The test job is re-created and lost it's build history.
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/d/optout.