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

[question] There is any chance to inject parameters to executed jobdsl? #117

Open
Pymann opened this issue Jan 12, 2024 · 0 comments
Open

Comments

@Pymann
Copy link

Pymann commented Jan 12, 2024

you know we have scripted pipeline step:

jobDsl targets: ["folders.groovy", value.PL_JOBTEMPLATE].join('\n'),
removedJobAction: 'IGNORE',
removedViewAction: 'IGNORE',
lookupStrategy: 'JENKINS_ROOT',
additionalParameters: [prm: value, bridge: jobtpl.prepare_const(value)]

Question is how to test this.
I admit there is one way: generate the files with parameters injected, but .... is it really the only way?

@Pymann Pymann changed the title [question] There is any chance to inject parameters to executed jobdsl [question] There is any chance to inject parameters to executed jobdsl? Jan 12, 2024
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

No branches or pull requests

1 participant