Set environment Variables for the current job

27 vistas
Ir al primer mensaje no leído

Loup Letac

no leída,
15 ago 2017, 3:28:54 p.m.15/8/2017
para job-dsl-plugin
Hi,

I use a dsl job to generate other job.
But since the list of generated jobs is changing, I need to set or overwrite an environment variable to launch the generated builds after.
It's seem that the dsl job is contained and cannot set anything outside itself.

Is it possible ? Or do I need to create an "launching" job ?

Thank you

Loup

Daniel Spilker

no leída,
30 ago 2017, 2:46:02 p.m.30/8/2017
para job-dsl...@googlegroups.com
You can use queue to schedule a build of a job. See https://github.com/jenkinsci/job-dsl-plugin/wiki/Job-DSL-Commands#queue
job('example') {
  // ...
}

queue('example')


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-plugin+unsubscribe@googlegroups.com.
To post to this group, send email to job-dsl-plugin@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/job-dsl-plugin/e84a945b-6270-4b8d-8ae1-93d1006ff30d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos