Hey. IIUC, this should be possible. Can you show us the content of your
Jenkinsfiles please ?

2017-08-29 21:07 GMT+02:00 Werner Dijkerman <[email protected]>:

> Hi,
>
> I have an issue and I don't get it to work.
>
> I have 2 Jenkinsfiles and thus 2 jobs. With the first Jenkinsfile I set an
> variable by reading a specific file, in this case: def commit_id =
> readFile('.git/commit-id').trim()
> Now I need to pass this 'commit_id' variable from the 1st Jenkinsfile/job
> to the 2nd Jenkinsfile/job. The 2nd job will already be triggered once the
> 1st job is completed successfully.
>
> I Already have installed the 'Parameterized Trigger plugin' plugin and
> added a "string" parameter (Name: commid_id, value: {commit_id}) but this
> isn't working.
>
> What am I doing wrong? Any suggestions?
>
> Kind regards,
> Werner
>
> --
> 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 [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-users/b3b7aa55-f9e4-45dd-abb8-05dd213b5b13%40googlegroups.
> com
> <https://groups.google.com/d/msgid/jenkinsci-users/b3b7aa55-f9e4-45dd-abb8-05dd213b5b13%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPO77c0-eGLAmY3pT0dPk43qpq8LcWLsjhoNthGXs_k%2BrttjEA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to