Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INFRA-1248] ${user.name} might contain metacharacters #173

Merged
merged 1 commit into from
Jun 27, 2017

Conversation

jglick
Copy link
Member

@jglick jglick commented Jun 26, 2017

Supersedes #171.

remoting$ mvn -Duser.name='big$mon\ey' validate -e
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building Jenkins remoting layer 3.10-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-maven) @ remoting ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0.1:display-info (display-info) @ remoting ---
[INFO] Maven Version: 3.5.0
[INFO] JDK Version: 1.8.0_131 normalized as: 1.8.0-131
[INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 4.10.0-22-generic
[INFO] 
[INFO] --- build-helper-maven-plugin:1.7:timestamp-property (timestamp-property) @ remoting ---
[INFO] Setting property 'now' to '06/26/2017 19:12 GMT'.
[INFO] 
[INFO] --- build-helper-maven-plugin:1.7:regex-property (user.name) @ remoting ---
[INFO] Setting property 'user.name.escaped' to 'big\$mon\\ey'.
[INFO] 
[INFO] --- build-helper-maven-plugin:1.7:regex-property (version-property) @ remoting ---
[INFO] Setting property 'build.version' to '3.10-SNAPSHOT (private-06/26/2017 19:12 GMT-big$mon\ey)'.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.172 s
[INFO] Finished at: 2017-06-26T15:12:06-04:00
[INFO] Final Memory: 11M/240M
[INFO] ------------------------------------------------------------------------

@reviewbybees

@ghost
Copy link

ghost commented Jun 26, 2017

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

@jglick
Copy link
Member Author

jglick commented Jun 26, 2017

Seems to be working:

[INFO] Setting property 'build.version' to '3.10-SNAPSHOT (private-06/26/2017 19:25 GMT-win2012-eaf360$)'.

@jglick
Copy link
Member Author

jglick commented Jun 26, 2017

@reviewbybees done

Seems to have fixed that issue. We still have test failures.

@oleg-nenashev oleg-nenashev merged commit 78bcc32 into jenkinsci:master Jun 27, 2017
@oleg-nenashev
Copy link
Member

it should help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants