Skip to content
This repository has been archived by the owner on May 15, 2018. It is now read-only.

Print environment variables as first step in each job #191

Closed
whimboo opened this issue Jan 3, 2013 · 7 comments
Closed

Print environment variables as first step in each job #191

whimboo opened this issue Jan 3, 2013 · 7 comments
Labels

Comments

@whimboo
Copy link
Contributor

whimboo commented Jan 3, 2013

To make debugging easier we should print all the environment variables in each job.

@davehunt
Copy link
Member

davehunt commented Jan 3, 2013

How can we make this a cross-platform build step?

@whimboo
Copy link
Contributor Author

whimboo commented Jan 10, 2013

set should be available through mozmill-env across all platforms. printenv would be better but only seems to work on mac and linux. So we could use set as fallback.

@whimboo
Copy link
Contributor Author

whimboo commented Sep 16, 2013

We may not have to print it as first step in the job but have those printed at all. Thanks to @davehunt who pointed me to https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin which is doing that at th end of the build.

davehunt added a commit to davehunt/mozmill-ci that referenced this issue Sep 16, 2013
@davehunt
Copy link
Member

This has been deployed to staging.

@davehunt
Copy link
Member

I just encountered JENKINS-17688 locally, which means we may be unable to see injected environment variables after a restart of Jenkins for any old jobs.

@whimboo
Copy link
Contributor Author

whimboo commented Sep 18, 2013

That's not pretty but should be ok for our kind of usage. We don't restart Jenkins that often.

@whimboo
Copy link
Contributor Author

whimboo commented Sep 20, 2013

This is live on production now.

@whimboo whimboo closed this as completed Sep 20, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants