-
Bug
-
Resolution: Fixed
-
Major
-
None
-
RHEL 6.3, Jenkins 1.534, envInject 1.88
The help section for "Properties File Path" states: Gives a file path of a properties file. The file format must be the standard Java property file format.
I have a property file that is in the Java property file format (it was written out by the store method of java.util.Properties), but the #, !, =, : are left escaped when envinject places the variable in the jenkins job.
The linked page for Java property file format gives an example of:
website = http\://en.wikipedia.org/
In the example above, website would be a key, and its corresponding value would be http://en.wikipedia.org/
I used this example in a property file that envInject used to place variables into the job and the result is:
website http\://en.wikipedia.org/
- duplicates
-
JENKINS-31573 New line characters are not parsing correctly
-
- Resolved
-
[JENKINS-20334] envInject leaves in backslash for #, !, =, :
Assignee | Original: Gregory Boissinot [ gbois ] | New: Rahul Mahulkar [ rahul_mahulkar ] |
Assignee | Original: Rahul Mahulkar [ rahul_mahulkar ] | New: Gregory Boissinot [ gbois ] |
Comment |
[ Hi, I am facing this issue with 1.92.1 version. below is my property file look like DotCoverConsoleRunner=C:\JetBrains.dotCover.CommandLineTools.2015.1.1\dotcover.exe and inject variable is C\:\\JetBrains.dotCover.CommandLineTools.2015.1.1\\dotcover.exe Can someone please help if I am setting it in incorrect manner or look into this issue? Thanks Regards, Rahul Mahulkar ] |
Workflow | Original: JNJira [ 151858 ] | New: JNJira + In-Review [ 178088 ] |
Link |
New:
This issue duplicates |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Hi,
this is definitely a bug. We are having exactly the same problem.
Although this issue is old it would be nice to know if there is an "official workaround".