Skip to content

Conversation

@jcarrothers-sap
Copy link

Variable definitions passed into docker run via --env are also included
in the environment of commands launched via docker exec. So for every
variable that matches the origin docker run environment, we can exclude
that value from the command line and prevent unnecessary value spam in
the build log as a bonus.

Variable definitions passed into docker run via --env are also included
in the environment of commands launched via docker exec.  So for every
variable that matches the origin docker run environment, we can exclude
that value from the command line and prevent unnecessary value spam in
the build log as a bonus.
@jenkinsadmin
Copy link
Member

Thank you for this pull request! Please check this document for how the Jenkins project handles pull requests.

As commands are launched in the container, we need to ensure that the
environment passed in is as resolved as possible as further resolution
isn't necessarily going to be done later.
@ghost
Copy link

ghost commented Mar 21, 2018

Any progress on this one? We really need this one to work...

@jcarrothers-sap
Copy link
Author

Is there anything I can do to move this PR along? This change has been working well in our internal Jenkins environment for nearly 2 years now.

@jsu
Copy link

jsu commented Apr 16, 2018

This feature is very important and useful, please merge the PR.

@jonhermansen
Copy link
Member

@jsu I'm just getting up to speed on this project. I will need some time to take a look. I need to test the changes locally, create a Maven release, update the changelog. If you (or anyone else) would like to add a functional test around this new behavior, patches are more than welcome!

@jsu
Copy link

jsu commented Apr 25, 2018

I have problem to compile the source code with the NoSuchFileException for Hudson.Extension.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project docker-custom-build-environment: Compilation failure
[ERROR] java.nio.file.NoSuchFileException: /Users/jsu/exosite/IN-533/docker-custom-build-environment-plugin-docker-custom-build-environment-1.7.3/target/classes/META-INF/annotations/hudson.Extension
[ERROR] 

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

Successfully merging this pull request may close these issues.

4 participants