Groups
Groups
Sign in
Groups
Groups
Jenkins Users
Conversations
About
Send feedback
Help
Passing env variable bettween different pipeline
19 views
Skip to first unread message
Alfredo De Luca
unread,
Aug 19, 2019, 5:37:14 AM
8/19/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
Hi all.
we are using Jenkins 2.176 and with blu ocean.
We have different pipelines each one does different things but in the near future we ll need to pass some env variables between them.
How can I do that?
Cheers
--
Alfredo
Yeikel Santana
unread,
Aug 19, 2019, 11:36:45 AM
8/19/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
In Jenkins UI you can configure credentials[1] . Environment variables are inherited from the system and can be used in your pipeline with
env[2]
Example : env.host
[1]
https://jenkins.io/doc/book/using/using-credentials/
[2]
https://jenkins.io/doc/pipeline/tour/environment/
Alfredo De Luca
unread,
Aug 20, 2019, 8:38:30 AM
8/20/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
thanks heaps
Alfredo
--
Alfredo
Reply all
Reply to author
Forward
0 new messages