[JIRA] (JENKINS-14623) EnvInject ignores changes in system configuration

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] (JENKINS-14623) EnvInject ignores changes in system configuration

JIRA noreply@jenkins-ci.org
Issue Type: Bug Bug
Assignee: Gregory Boissinot
Components: envinject
Created: 30/Jul/12 9:22 AM
Description:

I check 'Prepare an environment for the run' and provide the following script content:

echo %PATH%

I saw that PATH had additional Unix paths I provided at global configuration (my mistake). However, after removing PATH configuration from the global settings, all following builds still show these Unix paths appended. It looks like the plugin did not notice new global configuration and still injects old PATH settings.

Environment: Jenkins 1.475 on RHEL5 x86_64, Windows XP slave
Project: Jenkins
Priority: Major Major
Reporter: Krzysztof Malinowski
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|

[JIRA] (JENKINS-14623) EnvInject ignores changes in system configuration

JIRA noreply@jenkins-ci.org

Global configuration is only taken in account when the Jenkins instance is restarted?
Did you restart after changing your global configuration?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|

[JIRA] (JENKINS-14623) EnvInject ignores changes in system configuration

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Change By: Gregory Boissinot (30/Jul/12 7:34 PM)
Status: Open In Progress
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|

[JIRA] (JENKINS-14623) EnvInject ignores changes in system configuration

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

I eventually did, but I find this behavior unfriendly and not intuitive. In this particular situation I could not restart Jenkins at once, since there were other jobs building, some of them run for many hours. So in case I could not restart Jenkins instance, I also could not build another job which relied on global configuration. Built-in variable setting does not work that way and does not require Jenkins restart after changing global configuration.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|

[JIRA] (JENKINS-14623) EnvInject ignores changes in system configuration

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

I'm afraid I can't fix your issue. With the current Jenkins infrastructure, there is a need to restart for doing these EnvInject features.
Therefore, could we close the issue?
Tanks

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|

[JIRA] (JENKINS-14623) EnvInject ignores changes in system configuration

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
 
Gregory Boissinot edited a comment on Bug JENKINS-14623

I'm afraid I can't fix your issue. With the current Jenkins infrastructure, there is a need to restart for doing these EnvInject features.
Therefore, could we close the issue?
Thanks

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|

[JIRA] (JENKINS-14623) EnvInject ignores changes in system configuration

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

Any update?
What is your opinion?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|

[JIRA] (JENKINS-14623) EnvInject ignores changes in system configuration

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

Is it possible to help me?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|

[JIRA] (JENKINS-14623) EnvInject ignores changes in system configuration

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

If this is blocked by Jenkins core, I think it would be better to retarget this issue to core. Restarting Jenkins instance is an expensive operation and until new configuration is applied some of the builds are failing. I find such behavior unacceptable.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|

[JIRA] (JENKINS-14623) EnvInject ignores changes in system configuration

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

Re-target to core to find if there is a solution?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|

[JIRA] (JENKINS-14623) EnvInject ignores changes in system configuration

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Change By: Gregory Boissinot (26/Dec/12 6:37 PM)
Assignee: Gregory Boissinot
Component/s: core
Component/s: envinject
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|

[JIRA] [envinject] (JENKINS-14623) EnvInject ignores changes in system configuration

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

There is no description in this issue, about what doesn't work or what should be improved in core.
So this issue is much incomplete.
Reassigning to envinject for that reason.

Change By: evernat (26/Dec/13 1:24 PM)
Assignee: Gregory Boissinot
Component/s: envinject
Component/s: core
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.