Update a freestyle project to a matrix project

82 views
Skip to first unread message

Thomas Chekroun

unread,
Jul 21, 2015, 8:24:26 AM7/21/15
to job-dsl...@googlegroups.com
Hi,

I have a freestyle project on jenkins and i would like to change it to a matrix project. I see i can do it if i change the config.xml but i would like to know if i can do it with the plugin dsl.
I have already try but i got an error : java.io.IOException: Expecting class hudson.model.FreeStyleProject but got class hudson.matrix.MatrixProject instead

any ideas ?

Regards

Daniel Spilker

unread,
Jul 28, 2015, 3:10:04 AM7/28/15
to job-dsl...@googlegroups.com
It's not possible to change the project type in Jenkins. I will change the Job DSL plugin to print an error and fail the build when trying to change the project type.

Daniel

--
You received this message because you are subscribed to the Google Groups "job-dsl-plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to job-dsl-plugi...@googlegroups.com.
To post to this group, send email to job-dsl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/job-dsl-plugin/ed1333c3-cdcd-42ec-b358-b5c7f5a3feac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages