Declarative pipeline: set environment variables from script

21 views
Skip to first unread message

Tin Tvrtković

unread,
Mar 30, 2017, 7:36:50 AM3/30/17
to Jenkins Users
Hello,

I'm playing around with porting our old-style jobs to the new declarative pipeline format.

We currently use https://wiki.jenkins-ci.org/display/JENKINS/Environment+Script+Plugin that executes a Python script which sets up half a dozen environment variables which are later used. Can I somehow invoke this from the pipeline, and if not, what would be the new way of achieving something like this?

Cheers.
Reply all
Reply to author
Forward
0 new messages