[ 
https://issues.jenkins-ci.org/browse/JENKINS-10899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gregory Boissinot closed JENKINS-10899.
---------------------------------------

    Resolution: Won't Fix

I'm sorry for getting back to you so late.
EnvInject plugin is able to inject environment variables for several jobs 
through 'global properties' section in the 'Manage Jenkins' page.
I think I understand your use case. However, in my opinion, Jenkins shouldn't 
have to be in charge of providing mechanisms to display files content.

With the only usage of EnvInject plugin, you have to store it in a public path 
accessible though the Jenkins server.
Howver, the best practice is to store it in a sofware configuration management, 
especialy environment variables for tracability purposes.
For this kind of extensibility, you have to look at the SharedObjects plugin. 
It is a plugin aimed at sharing objects in an environment.
At the moment, Clearcase is supported.
Please feel free to add a feature to suport other SCM tools (for the 
sharedObjects plugin).

Closing the issue for now and for this component.
                
> Add the ability to show/edit from a job's configuration UI, a properties file 
> containing env vars to be set by envinject
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JENKINS-10899
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-10899
>             Project: Jenkins
>          Issue Type: New Feature
>          Components: envinject
>            Reporter: bogdaniosif
>            Assignee: Gregory Boissinot
>
> When env vars to be set by envinject are stored in a properties file, the 
> following problem arises from a job's admin perspective: How is the file 
> viewed/edited? The problem is bigger when the file is not coming from SCM, 
> instead it just sits permanently in some location on the build server, e.g. 
> in the same folder as the job's config.xml
> _*Feature Request:*_ Add to envinject the ability to show/edit in the job's 
> configuration UI the content of a file containing env vars to be set. If it's 
> possible, show/edit the content inline in the configuration page.

--
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

        

Reply via email to