Hi,
I want to use the workflow plugin and together with the "Prepare an
environment for the run" feature provided by the EnvInject plug in.
Unfortunately, when setting key/value pairs the variables are not
available in the "env" workflow variable.
Parameters (Dynamic Parameter Plug-in) will not show up either. Please
note that this is not related to JENKINS-26050, I want to configure
parameters in the project itself and not triggering it from another job.
What I want to achieve is to have a common workflow stored in the SCM
(Groovy CPD DSL from SCM). Different workflow jobs should all use the
common workflow and be able to control behaviour (like checkout branch).
The only solution I can think of is to use "Groovy CPD DSL" (without
SCM), defining the variables I want and then using a workflow global
library from the internal Git repository. I would like to avoid that
because the workflow is for a specific task (e.g. nightly build) and
does not really belong in a global library. Maybe just a question of the
abstraction level... and personal preference.
Are there other possible solutions?
Christoph
--
You received this message because you are subscribed to the Google Groups "Jenkins
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/d48ac0c44f3fbf29a1c1e137fe2eb526%40kfpc.de.
For more options, visit https://groups.google.com/d/optout.