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
Post a Comment