-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
-
308.v4f2b_ed62b_b_16
Hello,
I'm reporting it first in config-file-provider-plugin since the issues is reproducible by using config-file-provider-plugin
Note that, as the token-macro version is the culprit, the issue lies within
- the combination of config-file-provider-plugin and token-macro
- or
- only token-macro
To reproduce
Note that the issue was also reproduced in a pipeline build with configFileProvider(...)
- Jenkins 2.340
- Config-file-provider-plugin 3.9.0 (latest at the moment of writing these lines)
- token-macro plugin 285.vff7645a_56ff0 (latest at the moment of writing these lines)
- Steps (Screenshots for each step below)
- Create a custom managed file with tokens.
- Put
- Create a custom managed file with tokens.
"$hello/$dear" |
as the file contents with tokens.
Doesn't matter what the tokens are, it just need to be activated. Token must not be one of the strings contained in the config file.
-
- Create an empty Freestyle Build
- Use this managed file so it's available in the workspace
- Run the build, go to the workspace files and
- See the managed file is now this with additional characters.
- Create an empty Freestyle Build
"$hello//$dear"" |
To reproduce without the issue
- Jenkins 2.340
- Config-file-provider-plugin 3.9.0
- token-macro plugin 267.vcdaea6462991. I haven't tried with versions between 267[ and ]285
Workaround
Avoid usage of dollar sign $. However, it's not possible in all cases.**
[JENKINS-68219] Unwanted characters are added to custom managed file
Attachment | New: image-2022-04-07-16-48-47-738.png [ 57648 ] | |
Description |
Original:
Hello,
I'm reporting it here in *config-file-provider-plugin* since the issues is reproducible by using config-file-provider-plugin Note that, as the *token-macro* version is the culprit, the issue lies within * the combination of *config-file-provider-plugin* and *token-macro* * *or* * only *token-macro* h3. {color:#172b4d}To reproduce{color} {color:#172b4d}Note that it was also reproduced in a pipeline build with configFileProvider(...){color} * Jenkins 2.340 * Config-file-provider-plugin 3.9.0 (latest at the moment of writing these lines) * token-macro plugin 285.vff7645a_56ff0 (latest at the moment of writing these lines) * Steps (Screenshots for each step below) ** Create a custom managed file *with* tokens. ### Put |{color:#0000FF}"$hello/$dear"{color}| as the file contents *with* tokens. Doesn't matter what the tokens are, it just need to be activated. Token must *not* be one of the strings contained in the config file. ** Create an empty Freestyle Build ### Use this managed file so it's available in the workspace ** Run the build, go to the workspace files and ### See the managed file is now this with additional characters. |{color:#0000FF}"$hello//$dear"{color}{color:#000000}"{color}| h3. {color:#172b4d}To reproduce _without_ the issue{color} * {color:#172b4d}Jenkins 2.340{color} * Config-file-provider-plugin 3.9.0 * {color:#172b4d}token-macro plugin 267.vcdaea6462991. I haven't tried with versions between 267[ and ]285{color} h3. {color:#172b4d}Workaround{color} {color:#172b4d}Avoid usage of dollar sign *$*. However, it's not possible in all cases.{color}** !image-2022-04-07-16-35-34-066.png|width=575,height=471! !image-2022-04-07-16-37-05-195.png|width=372,height=325! !image-2022-04-07-16-39-53-600.png|width=372,height=201! |
New:
Hello,
I'm reporting it here in *config-file-provider-plugin* since the issues is reproducible by using config-file-provider-plugin Note that, as the *token-macro* version is the culprit, the issue lies within * the combination of *config-file-provider-plugin* and *token-macro* * *or* * only *token-macro* h3. {color:#172b4d}To reproduce{color} {color:#172b4d}Note that it was also reproduced in a pipeline build with configFileProvider(...){color} * Jenkins 2.340 * Config-file-provider-plugin 3.9.0 (latest at the moment of writing these lines) * token-macro plugin 285.vff7645a_56ff0 (latest at the moment of writing these lines) * Steps (Screenshots for each step below) ** Create a custom managed file *with* tokens. ### Put |{color:#0000ff}"$hello/$dear"{color}| as the file contents *with* tokens. Doesn't matter what the tokens are, it just need to be activated. Token must *not* be one of the strings contained in the config file. * ** Create an empty Freestyle Build ### Use this managed file so it's available in the workspace ** Run the build, go to the workspace files and ### See the managed file is now this with additional characters. |{color:#0000ff}"$hello//$dear"{color}{color:#000000}"{color}| h3. {color:#172b4d}To reproduce _without_ the issue{color} * {color:#172b4d}Jenkins 2.340{color} * Config-file-provider-plugin 3.9.0 * {color:#172b4d}token-macro plugin 267.vcdaea6462991. I haven't tried with versions between 267[ and ]285{color} h3. {color:#172b4d}Workaround{color} {color:#172b4d}Avoid usage of dollar sign *$*. However, it's not possible in all cases.{color}** !image-2022-04-07-16-35-34-066.png|width=575,height=471! !image-2022-04-07-16-37-05-195.png|width=372,height=325! !image-2022-04-07-16-39-53-600.png|width=372,height=201! !image-2022-04-07-16-48-47-738.png! |
Description |
Original:
Hello,
I'm reporting it here in *config-file-provider-plugin* since the issues is reproducible by using config-file-provider-plugin Note that, as the *token-macro* version is the culprit, the issue lies within * the combination of *config-file-provider-plugin* and *token-macro* * *or* * only *token-macro* h3. {color:#172b4d}To reproduce{color} {color:#172b4d}Note that it was also reproduced in a pipeline build with configFileProvider(...){color} * Jenkins 2.340 * Config-file-provider-plugin 3.9.0 (latest at the moment of writing these lines) * token-macro plugin 285.vff7645a_56ff0 (latest at the moment of writing these lines) * Steps (Screenshots for each step below) ** Create a custom managed file *with* tokens. ### Put |{color:#0000ff}"$hello/$dear"{color}| as the file contents *with* tokens. Doesn't matter what the tokens are, it just need to be activated. Token must *not* be one of the strings contained in the config file. * ** Create an empty Freestyle Build ### Use this managed file so it's available in the workspace ** Run the build, go to the workspace files and ### See the managed file is now this with additional characters. |{color:#0000ff}"$hello//$dear"{color}{color:#000000}"{color}| h3. {color:#172b4d}To reproduce _without_ the issue{color} * {color:#172b4d}Jenkins 2.340{color} * Config-file-provider-plugin 3.9.0 * {color:#172b4d}token-macro plugin 267.vcdaea6462991. I haven't tried with versions between 267[ and ]285{color} h3. {color:#172b4d}Workaround{color} {color:#172b4d}Avoid usage of dollar sign *$*. However, it's not possible in all cases.{color}** !image-2022-04-07-16-35-34-066.png|width=575,height=471! !image-2022-04-07-16-37-05-195.png|width=372,height=325! !image-2022-04-07-16-39-53-600.png|width=372,height=201! !image-2022-04-07-16-48-47-738.png! |
New:
Hello,
I'm reporting it here in *config-file-provider-plugin* since the issues is reproducible by using config-file-provider-plugin Note that, as the *token-macro* version is the culprit, the issue lies within * the combination of *config-file-provider-plugin* and *token-macro* * *or* * only *token-macro* h3. {color:#172b4d}To reproduce{color} {color:#172b4d}Note that the issue was also reproduced in a pipeline build with configFileProvider(...){color} * Jenkins 2.340 * Config-file-provider-plugin 3.9.0 (latest at the moment of writing these lines) * token-macro plugin 285.vff7645a_56ff0 (latest at the moment of writing these lines) * Steps (Screenshots for each step below) ** Create a custom managed file *with* tokens. ### Put |{color:#0000ff}"$hello/$dear"{color}| as the file contents *with* tokens. Doesn't matter what the tokens are, it just need to be activated. Token must *not* be one of the strings contained in the config file. * ** Create an empty Freestyle Build ### Use this managed file so it's available in the workspace ** Run the build, go to the workspace files and ### See the managed file is now this with additional characters. |{color:#0000ff}"$hello//$dear"{color}{color:#000000}"{color}| h3. {color:#172b4d}To reproduce _without_ the issue{color} * {color:#172b4d}Jenkins 2.340{color} * Config-file-provider-plugin 3.9.0 * {color:#172b4d}token-macro plugin 267.vcdaea6462991. I haven't tried with versions between 267[ and ]285{color} h3. {color:#172b4d}Workaround{color} {color:#172b4d}Avoid usage of dollar sign *$*. However, it's not possible in all cases.{color}** !image-2022-04-07-16-35-34-066.png|width=575,height=471! !image-2022-04-07-16-37-05-195.png|width=372,height=325! !image-2022-04-07-16-39-53-600.png|width=372,height=201! !image-2022-04-07-16-48-47-738.png! |
Component/s | New: token-macro-plugin [ 15832 ] | |
Description |
Original:
Hello,
I'm reporting it here in *config-file-provider-plugin* since the issues is reproducible by using config-file-provider-plugin Note that, as the *token-macro* version is the culprit, the issue lies within * the combination of *config-file-provider-plugin* and *token-macro* * *or* * only *token-macro* h3. {color:#172b4d}To reproduce{color} {color:#172b4d}Note that the issue was also reproduced in a pipeline build with configFileProvider(...){color} * Jenkins 2.340 * Config-file-provider-plugin 3.9.0 (latest at the moment of writing these lines) * token-macro plugin 285.vff7645a_56ff0 (latest at the moment of writing these lines) * Steps (Screenshots for each step below) ** Create a custom managed file *with* tokens. ### Put |{color:#0000ff}"$hello/$dear"{color}| as the file contents *with* tokens. Doesn't matter what the tokens are, it just need to be activated. Token must *not* be one of the strings contained in the config file. * ** Create an empty Freestyle Build ### Use this managed file so it's available in the workspace ** Run the build, go to the workspace files and ### See the managed file is now this with additional characters. |{color:#0000ff}"$hello//$dear"{color}{color:#000000}"{color}| h3. {color:#172b4d}To reproduce _without_ the issue{color} * {color:#172b4d}Jenkins 2.340{color} * Config-file-provider-plugin 3.9.0 * {color:#172b4d}token-macro plugin 267.vcdaea6462991. I haven't tried with versions between 267[ and ]285{color} h3. {color:#172b4d}Workaround{color} {color:#172b4d}Avoid usage of dollar sign *$*. However, it's not possible in all cases.{color}** !image-2022-04-07-16-35-34-066.png|width=575,height=471! !image-2022-04-07-16-37-05-195.png|width=372,height=325! !image-2022-04-07-16-39-53-600.png|width=372,height=201! !image-2022-04-07-16-48-47-738.png! |
New:
Hello,
I'm reporting it first in *config-file-provider-plugin* since the issues is reproducible by using config-file-provider-plugin Note that, as the *token-macro* version is the culprit, the issue lies within * the combination of *config-file-provider-plugin* and *token-macro* * *or* * only *token-macro* h3. {color:#172b4d}To reproduce{color} {color:#172b4d}Note that the issue was also reproduced in a pipeline build with configFileProvider(...){color} * Jenkins 2.340 * Config-file-provider-plugin 3.9.0 (latest at the moment of writing these lines) * token-macro plugin 285.vff7645a_56ff0 (latest at the moment of writing these lines) * Steps (Screenshots for each step below) ** Create a custom managed file *with* tokens. ### Put |{color:#0000ff}"$hello/$dear"{color}| as the file contents *with* tokens. Doesn't matter what the tokens are, it just need to be activated. Token must *not* be one of the strings contained in the config file. * ** Create an empty Freestyle Build ### Use this managed file so it's available in the workspace ** Run the build, go to the workspace files and ### See the managed file is now this with additional characters. |{color:#0000ff}"$hello//$dear"{color}{color:#000000}"{color}| h3. {color:#172b4d}To reproduce _without_ the issue{color} * {color:#172b4d}Jenkins 2.340{color} * Config-file-provider-plugin 3.9.0 * {color:#172b4d}token-macro plugin 267.vcdaea6462991. I haven't tried with versions between 267[ and ]285{color} h3. {color:#172b4d}Workaround{color} {color:#172b4d}Avoid usage of dollar sign *$*. However, it's not possible in all cases.{color}** !image-2022-04-07-16-35-34-066.png|width=575,height=471! !image-2022-04-07-16-37-05-195.png|width=372,height=325! !image-2022-04-07-16-39-53-600.png|width=372,height=201! !image-2022-04-07-16-48-47-738.png! |
Component/s | Original: config-file-provider-plugin [ 16140 ] |
Assignee | New: Alex Earl [ slide_o_mix ] |
Released As | New: 308.v4f2b_ed62b_b_16 | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |