Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add functionality to use freestyle templates for matrix jobs #595

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add functionality to use freestyle templates for matrix jobs #595

wants to merge 1 commit into from

Conversation

JeremyMarshall
Copy link
Contributor

Whist you can't change a job type once it exists, what is possible is to create a new job based on a template of a different type. I did this for freestyle and matrix jobs as that seemed the most obvious.

It works by adding or removing elements and changing the type. Hopefully it is extendible to swap between other job types by writing the class to coerce it

@jenkinsadmin
Copy link
Member

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

@JeremyMarshall
Copy link
Contributor Author

I did this over a year ago and don't have my repo anymore. There looks to be conflicts. Happy to bring it up to date if it is still viable and wanted

@jiff-infrastructure
Copy link

Can one of the admins verify this patch?

@CorevistCI
Copy link

Build finished.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants