Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jenkins environment variables are not available from PBS script #7

Open
omagotte opened this issue Jun 29, 2015 · 2 comments
Open

Jenkins environment variables are not available from PBS script #7

omagotte opened this issue Jun 29, 2015 · 2 comments

Comments

@omagotte
Copy link

Hi,

I am working with jenkins 1.617 and version 0.2 of pbs-plugin to run jobs on a cluster with Torque queueing system installed. My jobs are working with changing workspace (based on svn branches), and various parameters. So I would like to retrieve corresponding jenkins variables (available as environment variables in standard scripts) but this is not possible: no jenkins variables is available from the pbs script (for this reason, the default workspace directory for the pbs script is not the job workspace but the slave workspace).

Regards

O. Magotte

@kinow
Copy link
Member

kinow commented Jun 29, 2015

Ack! Last night I found a torque Docker image. I'm going to give it a try and see if I can start fixing the issues we have and cut a new release.

Thanks!

@tfnico
Copy link

tfnico commented Sep 18, 2015

We figured we would work around this by using some Jenkins plugins to write the variables into a properties file, and then just source this in the PBS script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants