-
Notifications
You must be signed in to change notification settings - Fork 719
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
Ability to reference relative file for "jobs:" configuration #695
Comments
I'd love to have this! Any news on this issue? |
try:
*EDIT: the file has to be avaialbe to the jenkins master, I put it in $JENKINS_HOME. You can also use |
@Lorquas nicely found! Did you see if it accepts relative paths, or only absolute? |
it supports relative files @MartinSGill |
Where is this documented? If I declare
|
Seems to be documented here: https://github.com/jenkinsci/job-dsl-plugin/wiki/JCasC Does not work me when using the Apparently other people see this issue in #1145 (comment) (closed issue) |
Current
jobs:
looks like this:I would much prefer to have it reference files.
I my experience, no seed job is quite as simple as the example. When attempting to migrate an existing server to JCASC one of my biggest stumbling blocks was converting/escaping/updating existing jobdsl. If jcasc supported loading of groovy files then I could almost just copy existing jobdsl and use it with almost zero effort on my part.
The advantage of this is that:
Jenkins version: 2.156
Plugin version: 1.4
OS: docker:alpine
The text was updated successfully, but these errors were encountered: