Simply parsing the required variables while triggering the downstream job.

stage ('Invoke_pipelineA') {
            steps {
                build job: 'pipelineA', parameters: [
                string(name: 'param1', value: "value1")
                ]
            }
        }



/BR
John

On Thu, 10 Sep, 2020, 6:17 am Ashish Sharma, <[email protected]>
wrote:

> Dear All,
>
> We have a bunch of jobs which will use some common variables like user
> names, urls etc (which are not secrets or credentials). Is there a way (or
> plugin maybe) to share these variables between jobs (something like
> credentials plugin for secrets).
>
> TIA,
> Ashish
>
> --
> 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/cb539948-33ce-4233-b5bc-965bbfd0d265n%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/cb539948-33ce-4233-b5bc-965bbfd0d265n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAGJXh7qekzsg0oBFYmLP0yyP4HLoDHBLWT0Kz1N5E5RWnp-yDQ%40mail.gmail.com.

Reply via email to