Jenkins trigger call/build on other projects plugin not evaluating my env var -


in jenkins job, have "execute shell section" declaring new variables , adding values e.g installdir=/work/homes/x".

following section have "trigger call/build on other projects" section. calling project , want send installdir predefined parameter. have turned on "current build parameters" , "predefined parameters". in predefined paramters, have given install_dir=$installdir.

but not evaluating this. how can make evaluate installdir variable.

fyi: have set installdir different path based on user input. execute shell place can this.

you should use parameterized trigger plugin: https://wiki.jenkins-ci.org/display/jenkins/parameterized+trigger+plugin

update: see comments thread info, parametrized trigger plugin not work particular use case.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -