![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Assignee:
|
Justin Ryan
|
|
Components:
|
job-dsl-plugin |
|
Created:
|
03/Jun/14 11:48 AM
|
|
Description:
|
Hi,
When a folder is in the list of "Removing items" at the end of the execution, it triggers the following exception :
FATAL: com.cloudbees.hudson.plugins.folder.Folder cannot be cast to hudson.model.AbstractProject
java.lang.ClassCastException: com.cloudbees.hudson.plugins.folder.Folder cannot be cast to hudson.model.AbstractProject
at javaposse.jobdsl.plugin.ExecuteDslScripts.updateGeneratedJobs(ExecuteDslScripts.java:278)
at javaposse.jobdsl.plugin.ExecuteDslScripts.perform(ExecuteDslScripts.java:177)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
at hudson.model.Build$BuildExecution.build(Build.java:198)
at hudson.model.Build$BuildExecution.doRun(Build.java:159)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:523)
at hudson.model.Run.execute(Run.java:1700)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)
Rgds/Romain
|
|
Environment:
|
Ubuntu Precise 12.4
|
|
Project:
|
Jenkins
|
|
Priority:
|
Major
|
|
Reporter:
|
Romain Chalumeau
|
|
|
|
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.