[
https://issues.jenkins-ci.org/browse/JENKINS-13230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161965#comment-161965
]
suresh kukalakuntla commented on JENKINS-13230:
-----------------------------------------------
Greg and Bap,
Just wanted to follow up with you to know if the publish-over-ssh plugin has
been made "EnvInject aware". With this feature all the variables injected by
EnvInject can be used during promotion which enhances the ability of EnvInject
Plugin.
> Not able to use Jenkins Environment Variables and variables injected through
> Env Inject plugin when executing commands over ssh in Publish over SSH plugin
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: JENKINS-13230
> URL: https://issues.jenkins-ci.org/browse/JENKINS-13230
> Project: Jenkins
> Issue Type: Bug
> Components: publish-over-ssh
> Affects Versions: current
> Environment: RHEL 5.5
> Reporter: suresh kukalakuntla
> Assignee: bap
>
> I am trying to use Jenkins environment variables and variables injected
> through Env Inject plugin in Execute section of 'Send build artifacts over
> SSH'. It does not recognize them. It does recognize the build parameters and
> replaces them with the values. When I look at the 'Injected environment
> variables' I see all the variables I want to use. Not sure if I have to do
> anything different to be able to use those variables.
> In Job configuration I checked 'Prepare an environment for the run' and 'Keep
> Jenkins Environment Variables', 'Keep Jenkins Build Variables'.
> I have an 'Evaluated Groovy script' that sets 'MODULE_HOME' based on build
> time parameter MODULE_NAME.
> Please let me know how to proceed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira