Issue Type: Bug Bug
Assignee: Unassigned
Components: perforce
Created: 14/Aug/12 3:13 PM
Description:

The Perforce plugin does not substitute all variables when polling for changes. I use variables in the following fields: "Workspace (client)" and "View Map".
The plugin replaces only the variable ${JOB_NAME} with the correct value, but ignores ${NODE_NAME} and ${USERNAME} (and perhaps some other variables too). Using %USERNAME% instead of ${USERNAME} does not work.

The polling log looks like:

Started on 14.08.2012 16:36:33
Looking for changes...
Using node: Jenkins
Using master perforce client: ${USERNAME}admin.test${NODE_NAME}
[JENKINS_HOME] $ "c:\Program Files\P4\p4.exe" workspace -o ${USERNAME}admin.test${NODE_NAME}
[JENKINS_HOME] $ "c:\Program Files\P4\p4.exe" counter change
[JENKINS_HOME] $ "c:\Program Files\P4\p4.exe" -s changes -s submitted //${USERNAME}admin.test{NODE_NAME}/...@26326,@26325
No changes found.

When I do not use polling (starting the job manually), the plugin has no problem to create and sync the workspace.

Environment: Windows 7 Professional 64-Bit, Jenkins 1.471, Winstone servlet engine
Project: Jenkins
Labels: plugin job
Priority: Critical Critical
Reporter: Bernhard Berbuir
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

Reply via email to