[JIRA] [core] (JENKINS-27928) environment variable changes are not applied.

2015-04-14 Thread dan...@beckweb.net (JIRA)















































Daniel Beck
 resolved  JENKINS-27928 as Duplicate


environment variable changes are not applied.  
















It looks like you're using a plugin (Tikal Multijob) with a hard dependency on env-inject. That was unexpected, sorry about that.

That said, this looks a lot like JENKINS-27739, so resolving as duplicate. Feel free to help investigate the cause over there.





Change By:


Daniel Beck
(15/Apr/15 4:23 AM)




Status:


Open
Resolved





Resolution:


Duplicate



























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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-27928) environment variable changes are not applied.

2015-04-14 Thread funee...@yahoo.com (JIRA)














































marlene cote
 commented on  JENKINS-27928


environment variable changes are not applied.  















I reinstalled the envinject plugin and my jobs are back.. 



























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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-27928) environment variable changes are not applied.

2015-04-14 Thread funee...@yahoo.com (JIRA)














































marlene cote
 commented on  JENKINS-27928


environment variable changes are not applied.  















Apr 14, 2015 3:53:25 PM hudson.model.ItemGroupMixIn loadChildren
WARNING: could not load D:\Jenkins\jobs\The-A-Team\jobs\08-THEATEAM-INT-UCC-BUILD
java.io.IOException: Unable to read D:\Jenkins\jobs\The-A-Team\jobs\08-THEATEAM-INT-UCC-BUILD\config.xml
	at hudson.XmlFile.read(XmlFile.java:144)
	at hudson.model.Items.load(Items.java:316)
	at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:109)
	at com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:238)
	at hudson.model.Items.load(Items.java:317)
	at jenkins.model.Jenkins$17.run(Jenkins.java:2651)
	at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
	at jenkins.model.Jenkins$7.runTask(Jenkins.java:904)
	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: com.tikal.jenkins.plugins.multijob.MultiJobProject
	at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:79)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
	at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
	at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
	at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
	at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
	at com.thoughtworks.xstream.mapper.SecurityMapper.realClass(SecurityMapper.java:71)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
	at hudson.util.XStream2$CompatibilityMapper.realClass(XStream2.java:280)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
	at org.jenkinsci.jruby.JRubyMapper.realClass(JRubyMapper.java:34)
	at hudson.util.xstream.MapperDelegate.realClass(MapperDelegate.java:43)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
	at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:48)
	at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:133)
	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1189)
	at hudson.util.XStream2.unmarshal(XStream2.java:113)
	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1173)
	at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1053)
	at hudson.XmlFile.read(XmlFile.java:142)
	... 13 more

[JIRA] [core] (JENKINS-27928) environment variable changes are not applied.

2015-04-14 Thread funee...@yahoo.com (JIRA)














































marlene cote
 commented on  JENKINS-27928


environment variable changes are not applied.  















I just did a safe restart of jenkins server and now all of my jobs are gone!  I see them in the folder on the disk, and I tried reload from disk without success.



























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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-27928) environment variable changes are not applied.

2015-04-14 Thread funee...@yahoo.com (JIRA)














































marlene cote
 commented on  JENKINS-27928


environment variable changes are not applied.  















I need to schedule the restart of jenkins to finish the uninstall of the plugin.. I will get back to you.



























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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-27928) environment variable changes are not applied.

2015-04-14 Thread dan...@beckweb.net (JIRA)














































Daniel Beck
 commented on  JENKINS-27928


environment variable changes are not applied.  















Node specific env vars ("environment variables, list of key-value pairs") are a core feature.



























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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-27928) environment variable changes are not applied.

2015-04-14 Thread funee...@yahoo.com (JIRA)












































  
marlene cote
 edited a comment on  JENKINS-27928


environment variable changes are not applied.  
















won't I lose the ability to specify and use env variables if I uninstall that plugin?



























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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-27928) environment variable changes are not applied.

2015-04-14 Thread funee...@yahoo.com (JIRA)














































marlene cote
 commented on  JENKINS-27928


environment variable changes are not applied.  















won't I lose the ability to specify env variables if I uninstall that plugin?



























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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-27928) environment variable changes are not applied.

2015-04-14 Thread dan...@beckweb.net (JIRA)














































Daniel Beck
 commented on  JENKINS-27928


environment variable changes are not applied.  















Does the same issue occur without 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







-- 
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-27928) environment variable changes are not applied.

2015-04-14 Thread funee...@yahoo.com (JIRA)














































marlene cote
 updated  JENKINS-27928


environment variable changes are not applied.  
















Change By:


marlene cote
(14/Apr/15 2:42 PM)




Environment:


jenkins server -
windows
 server 2008 R2 SP1 64 bit jenkins client
 -
 windows server 2008 R2 SP1 64 bit
 jenkins
 server
 version 1.608
  recently upgraded from 1.598I have not tried to downgrade because the teams were not changing this variable before now either.multiple browsers tried, no effect.  firefox v-37.0.1, IE v10windows installer usedslaves installed vi web page - windows service installed - started via java web start java on server - standard edition 7_67 32 bitjava on client - standard edition 7_67 32 bitsystem info page data below.





Description:


When changing an existing node environment variable
 (%JENKINS_BUILD_REPOSITORY%)
 value in the node's configuration dialog, the change is not applied. Looking at the systemInfo of the node shows, that the variable still has got the old value. Also reloading the Jenkins configuration from disk did not help.The only thing that seems to help is a reboot of the jenkins server.  Restarting the slave isn't enough.
Here is some more detail from the developers using Jenkins for their builds.I know you should only have to restart the Jenkins slave service and know how to do that. I’ve tried that. I’ve also tried rebooting the machine, which also restarts the Jenkins slave service. Same result.I’ve checked the environment variables on our build server (BOSBLD-TEAM6): JENKINS_BUILD_REPOSITORY=MakoSP2_Bld_0400I’ve run a build job and captured the batch file that gets deployed to our build server to actually run the build, the contents of which are:echo %JENKINS_BUILD_REPOSITORY%cd "%JENKINS_INT_BUILD_VIEW%\release_eng\Build_scripts\scripts\PS"powershell.exe -NoProfile -ExecutionPolicy unrestricted -Command "%JENKINS_INT_BUILD_VIEW%\release_eng\Build_scripts\scripts\PS\PSBuild.ps1" ait DB -DownloadProprietaryIfNewer "%JENKINS_BUILD_REPOSITORY%"exit %ERRORLEVEL%I’ve executed this batch file on our build server directly and get the expected results:Using staging area: '\\bosrdfs1\MakoSP2_Build\MakoSP2_Bld_0400'. The problem is, when the build is run from our Jenkins page, it doesn’t reflect the proper version:Using staging area: '\\bosrdfs1\MakoSP2_Build\MakoSP2_Bld_0200'.  from system information pageawt.toolkit sun.awt.windows.WToolkit executable-war D:\Jenkins\jenkins.war file.encoding Cp1252 file.encoding.pkg sun.io file.separator \ hudson.diyChunking true hudson.lifecycle hudson.lifecycle.WindowsServiceLifecycle java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment java.awt.headless true java.awt.printerjob sun.awt.windows.WPrinterJob java.class.path D:\Jenkins\jenkins.war java.class.version 51.0 java.endorsed.dirs D:\Jenkins\jre\lib\endorsed java.ext.dirs D:\Jenkins\jre\lib\ext;C:\Windows\Sun\Java\lib\ext java.home D:\Jenkins\jre java.io.tmpdir C:\Windows\TEMP\ java.library.path D:\Jenkins\jre\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\7-zip;C:\Program Files (x86)\IBM\RationalSDLC\Clearquest\cqcli\bin;C:\Program Files (x86)\IBM\RationalSDLC\common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\IBM\RationalSDLC\ClearCase\bin;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft Team Foundation Server 2012 Power Tools\;C:\Program Files (x86)\Microsoft Team Foundation Server 2012 Power Tools\Best Practices Analyzer\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\IBM\RationalSDLC\ClearCase\RemoteClient\cteapis;C:\Program Files (x86)\IBM\gsk8\lib;C:\Program Files (x86)\IBM\gsk8\bin;c:\opscode\chef\bin;;. java.runtime.name Java(TM) SE Runtime Environment java.runtime.version 1.7.0_25-b17 java.specification.name Java Platform API Specification java.specification.vendor Oracle Corporation java.specification.version 1.7 java.vendor Oracle Corporation java.vendor.url http://

[JIRA] [core] (JENKINS-27928) environment variable changes are not applied.

2015-04-14 Thread dan...@beckweb.net (JIRA)














































Daniel Beck
 commented on  JENKINS-27928


environment variable changes are not applied.  















Please include the information requested in the wiki at https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue as I wrote in JENKINS-14801.



























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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-27928) environment variable changes are not applied.

2015-04-14 Thread funee...@yahoo.com (JIRA)














































marlene cote
 created  JENKINS-27928


environment variable changes are not applied.  















Issue Type:


Bug



Assignee:


Unassigned


Components:


core



Created:


14/Apr/15 12:49 PM



Description:


When changing an existing node environment variable value in the node's configuration dialog, the change is not applied. Looking at the systemInfo of the node shows, that the variable still has got the old value. Also reloading the Jenkins configuration from disk did not help.
The only thing that seems to help is a reboot of the jenkins server.  Restarting the slave isn't enough.




Environment:


windows - jenkins version 1.608




Project:


Jenkins



Priority:


Major



Reporter:


marlene cote

























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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.