Rudziankoŭ
Rudziankoŭ

Reputation: 11251

Job parameterization in Jenkins

I want one job pass param to another job. The problem is that I want one job obtain parameter after execution shell command.

jenkins

Any ideas how to manage it?

Upvotes: 1

Views: 72

Answers (1)

Eytan Avisror
Eytan Avisror

Reputation: 2970

You should look into EnvInject Plugin - https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin You can use it to load parameters from a file (which can be created by your shell step). You may than use the loaded variable to trigger the next job / step.

Upvotes: 2

Related Questions