[JIRA] (JENKINS-38561) Problems occurs on injecting env vars as a build step: Malformed \uxxxx encoding.

2018-03-12 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Oleg Nenashev assigned an issue to Unassigned  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Unfortunately I will not have time to work on EnvInject issues for a while. I decided to unassign all issues so that somebody can take them and finalize. Context: The plugin has been waiting for adoption for ~2 years. During all this time I was trying to keep this plugin afloat by reviewing the incoming pull requests, fixing defects and keeping the codebase up to date to simplify the handover. But I have not been using this plugin on my own so that such maintenance was a bit lame. I invite all active users to contribute to the plugin by taking ownership of this plugin and of EnvInject API. I am happy to provide any required knowledge transfers and do some assistance during the first months of maintenance  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-38561  
 
 
  Problems occurs on injecting env vars as a build step: Malformed \u encoding.   
 

  
 
 
 
 

 
Change By: 
 Oleg Nenashev  
 
 
Assignee: 
 Oleg Nenashev  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 
  

[JIRA] (JENKINS-38561) Problems occurs on injecting env vars as a build step: Malformed \uxxxx encoding.

2016-10-26 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Oleg Nenashev commented on  JENKINS-38561  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Problems occurs on injecting env vars as a build step: Malformed \u encoding.   
 

  
 
 
 
 

 
 Yes, likely it's caused by JENKINS-31573, which is a documented compatibility change  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-38561) Problems occurs on injecting env vars as a build step: Malformed \uxxxx encoding.

2016-10-05 Thread da...@wimsey.us (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 David Wimsey commented on  JENKINS-38561  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Problems occurs on injecting env vars as a build step: Malformed \u encoding.   
 

  
 
 
 
 

 
 Additionally, here is the stack trace of the error from the system.log WARNING: Problems occurs on injecting env vars defined in the build wrapper for build  {0} java.lang.IllegalArgumentException: Malformed \u encoding. at java.util.Properties.loadConvert(Properties.java:574) at java.util.Properties.load0(Properties.java:391) at java.util.Properties.load(Properties.java:317) at org.jenkinsci.plugins.envinject.service.PropertiesLoader.getVars(PropertiesLoader.java:76) at org.jenkinsci.plugins.envinject.service.PropertiesLoader.getVarsFromPropertiesContent(PropertiesLoader.java:65) at org.jenkinsci.plugins.envinject.EnvInjectInfo.getPropertiesContentMap(EnvInjectInfo.java:68) at org.jenkinsci.plugins.envinject.EnvInjectBuildWrapper.setUp(EnvInjectBuildWrapper.java:105) at hudson.model.Build$BuildExecution.doRun(Build.java:156) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1720) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:404)  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-38561) Problems occurs on injecting env vars as a build step: Malformed \uxxxx encoding.

2016-10-05 Thread da...@wimsey.us (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 David Wimsey edited a comment on  JENKINS-38561  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Problems occurs on injecting env vars as a build step: Malformed \u encoding.   
 

  
 
 
 
 

 
 This new behavior only tends to show up for windows users who use \ instead of / for directory separators.  I believe this commit:https://github.com/jenkinsci/envinject-plugin/commit/e64c47d89c0c9865e5ab6578172cf6d203e3b8a0on line 104  of PropertiesLoader.java  (being removed) is why this is suddenly showing itself.   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-38561) Problems occurs on injecting env vars as a build step: Malformed \uxxxx encoding.

2016-10-05 Thread da...@wimsey.us (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 David Wimsey commented on  JENKINS-38561  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Problems occurs on injecting env vars as a build step: Malformed \u encoding.   
 

  
 
 
 
 

 
 It would appear that envinject now tries to parse the strings or something and is getting tripped up by the backslashes. This new behavior only tends to show up for windows users who use \ instead of / for directory separators.  I believe this commit: https://github.com/jenkinsci/envinject-plugin/commit/e64c47d89c0c9865e5ab6578172cf6d203e3b8a0 on line 104 (being removed) is why this is suddenly showing itself.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-38561) Problems occurs on injecting env vars as a build step: Malformed \uxxxx encoding.

2016-10-05 Thread da...@wimsey.us (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 David Wimsey edited a comment on  JENKINS-38561  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Problems occurs on injecting env vars as a build step: Malformed \u encoding.   
 

  
 
 
 
 

 
 It would appear that envinject now tries to parse the strings or something and is getting tripped up by the backslashes. This new behavior only tends to show up for windows users who use \ instead of / for directory separators.  I believe this commit:https://github.com/jenkinsci/envinject-plugin/commit/e64c47d89c0c9865e5ab6578172cf6d203e3b8a0on line 104 (being removed) is why this is suddenly showing itself.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-38561) Problems occurs on injecting env vars as a build step: Malformed \uxxxx encoding.

2016-09-28 Thread philipp.a.b...@ge.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Philipp Baer commented on  JENKINS-38561  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Problems occurs on injecting env vars as a build step: Malformed \u encoding.   
 

  
 
 
 
 

 
 It's the env.props I've attached. Had to anonymise it a bit before attaching it.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-38561) Problems occurs on injecting env vars as a build step: Malformed \uxxxx encoding.

2016-09-28 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Oleg Nenashev commented on  JENKINS-38561  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Problems occurs on injecting env vars as a build step: Malformed \u encoding.   
 

  
 
 
 
 

 
 Please provide the generated_environment.props file. Likely it's an issue with backslashes (see compatibility notes on the Wiki)  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-38561) Problems occurs on injecting env vars as a build step: Malformed \uxxxx encoding.

2016-09-28 Thread philipp.a.b...@ge.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Philipp Baer created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-38561  
 
 
  Problems occurs on injecting env vars as a build step: Malformed \u encoding.   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Oleg Nenashev  
 
 
Attachments: 
 env.props, output.log  
 
 
Components: 
 envinject-plugin  
 
 
Created: 
 2016/Sep/28 8:03 AM  
 
 
Environment: 
 Jenkins 2.23, envinject 1.93, Linux, Windows 7 slaves  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Philipp Baer  
 

  
 
 
 
 

 
 After updating to the latest version of the envinject plugin, injecting an environment properties file (which is basically a "set > env.props") does not work any more. The error message reads: 

 

[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - Injecting as environment variables the properties file path 'generated_environment.props'
[EnvInject] - [ERROR] - Problems occurs on injecting env vars as a build step: Malformed \u encoding.
 

 Steps to reprocude 
 
Update envinject plugin to v1.93 
Have a job with two build steps: 
 
Execute Windows