Hi David,
offhand, looks like it might be a problem with
the named client on the slave; the error you are
getting is a standard client map error.
you might try using p4 command line on the slave
to verify that the client spec
(jenkins-machine-p4ce in your example) works
there.
Btw, there is more complete documentation for the plugin here:
https://github.com/jenkinsci/p4-plugin
See also:
http://www.perforce.com/perforce/doc.current/manuals/cmdref/p4_client.html
Section on AltRoots might be of interest.
Messages labeled "P4JAVA" are from the underlying java api for perforce.
-Russ
At 4:04 PM +0000 11/12/14, <david.doug...@barclays.com> wrote:
I've a new challenge, figuring out how to use
perforce; specifically to run against our
Jenkins CI system. When I fire off my P4test job
(using the P4 plugin) I get the following
console output.
[EnvInject] - Loading node environment variables.
Building remotely on s in workspace /jenkins/workspace/p4ce
Connected to server: perforce.server.com:1666
Connected to client: jenkins-machine-p4ce
SCM Task: cleanup workspace: jenkins-machine-p4ce
SCM Task: reverting all pending and shelved revisions.
... [list] = revert
P4JAVA: Path 'D:/jenkins/workspace/p4ce/...' is
not under client's root
'/jenkins/workspace/p4ce'.
ERROR: Unable to update workspace: hudson.AbortException: P4JAVA: Error(s)
<http://stacktrace.jenkins-ci.org/search?query=Finished>Finished: FAILURE
So, does anyone use the P4 plugin and have any
guidance/comments they can provide?
I'm not hugely familiar with p4ce, so that may be a contributing factorÅ
Jenkins 1.532.2.2 and P4Plugin 1.0.16
Jenkins is configured with a RHEL master;
windows 2k8 and RHEL slaves; the job is running
on the windows slave(supposedly).
dD
This e-mail and any attachments are confidential
and intended solely for the addressee and may
also be privileged or exempt from disclosure
under applicable law. If you are not the
addressee, or have received this e-mail in
error, please notify the sender immediately,
delete it from your system and do not copy,
disclose or otherwise act upon any part of this
e-mail or its attachments.
Internet communications are not guaranteed to be
secure or virus-free. The Barclays Group does
not accept responsibility for any loss arising
from unauthorised access to, or interference
with, any Internet communications by any third
party, or from the transmission of any viruses.
Replies to this e-mail may be monitored by the
Barclays Group for operational or business
reasons.
Any opinion or other information in this e-mail
or its attachments that does not relate to the
business of the Barclays Group is personal to
the sender and is not given or endorsed by the
Barclays Group.
Barclays Bank PLC. Registered in England and
Wales (registered no. 1026167). Registered
Office: 1 Churchill Place, London, E14 5HP,
United Kingdom. Barclays Bank PLC is authorised
by the Prudential Regulation Authority and
regulated by the Financial Conduct Authority and
the Prudential Regulation Authority (Financial
Services Register No. 122702).
--
You received this message because you are
subscribed to the Google Groups "Jenkins Users"
group.
To unsubscribe from this group and stop
receiving emails from it, send an email to
<mailto:jenkinsci-users+unsubscr...@googlegroups.com>jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit
<https://groups.google.com/d/optout>https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Jenkins
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.