masaki / jenkins-travis-yml-plugin

go to https://github.com/jenkinsci/travis-yml-plugin
MIT License
21 stars 16 forks source link

SSH_AUTH_SOCK from SSH Agent Plugin is not preserved #7

Closed seschwar closed 7 years ago

seschwar commented 9 years ago

I want to use the SSH Agent Plugin in order to allow a composer install build step to fetch my custom bundles from my private repositories.

The environment variable SSH_AUTH_SOCK then is present during usual Jenkins build steps. This will make Git use the defined credentials. However during the individual actions like install and script defined in .travis.yml the environment variable is missing.

This prevents me from fully describing the build process in .travis.yml. Therefore i think the environment variable SSH_AUTH_SOCK should be whitelisted and be pass the individual Travis actions.

seschwar commented 9 years ago

To clarify: I cannot hardcode SSH_AUTH_SOCK in .travis.yml since the socket file for the agent has a randomly generated name.

alvarolorentedev commented 7 years ago

I am helping sustain this plugin, I know this Issue is old but could you elaborate or can I close?

alvarolorentedev commented 7 years ago

this should be have solved in version 0.2.0 as there is no update from creator I will close