Can we store output of some script in some variable in jenkins ?
180 views
Skip to first unread message
Krishna Kumar Tiwari
unread,
May 7, 2015, 1:48:06 PM5/7/15
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
Suppose i have a script(script.py) which outputs one variable in Build_id . and in Execute Shell section of the job config. Following is the commands i have specified in Execute Shell section.
python script.py
python script1.py
I want script1.py to use that variable in the job .
How can i do that ?
Ioannis Moutsatsos
unread,
May 12, 2015, 10:55:02 AM5/12/15
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
You may want to check out the Active Choices plugin for script generated dynamic build parameters.
Active Choices though uses Groovy
Active Choices parameters are used as build parameters in a variety of ways.