RE: P4 plugin jenkins issue

2014-11-13 Thread david.doughty
P4JAVA, I’ve no idea what that is, I assumed it came as part of the P4 Plugin 
from Perforce

dD

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Ginga, Dick
Sent: 12 November 2014 16:12
To: jenkinsci-users@googlegroups.com
Subject: RE: P4 plugin jenkins issue

We use Jenkins and the Perforce plugin (Jenkins 1.565.2 P4 1.3.26)

What are you using P4JAVA for?

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of 
david.doug...@barclays.com
Sent: Wednesday, November 12, 2014 11:04 AM
To: jenkinsci-users@googlegroups.com
Subject: P4 plugin jenkins issue

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)
Finishedhttp://stacktrace.jenkins-ci.org/search?query=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 
jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit 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.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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 

openjdk or oracle on RHEL7?

2014-11-13 Thread Chris Withers
Hi All,

Which JVM is recommended for running Jenkins on RHEL7. Oracle's offering or 
OpenJDK?

cheers,

Chris

-- 
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.


RE: P4 plugin jenkins issue

2014-11-13 Thread david.doughty
I should clarify, that I was trying to use the P4 plugin (perforce written) 
rather than the Perforce Plugin (community plugin).

It would appear that the community Plugin does work; but I can’t get the P4 
plugin to work…

dD

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Doughty, David : 
Corporate Banking
Sent: 13 November 2014 10:36
To: jenkinsci-users@googlegroups.com
Subject: RE: P4 plugin jenkins issue

P4JAVA, I’ve no idea what that is, I assumed it came as part of the P4 Plugin 
from Perforce

dD

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Ginga, Dick
Sent: 12 November 2014 16:12
To: jenkinsci-users@googlegroups.com
Subject: RE: P4 plugin jenkins issue

We use Jenkins and the Perforce plugin (Jenkins 1.565.2 P4 1.3.26)

What are you using P4JAVA for?

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of 
david.doug...@barclays.com
Sent: Wednesday, November 12, 2014 11:04 AM
To: jenkinsci-users@googlegroups.com
Subject: P4 plugin jenkins issue

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)
Finishedhttp://stacktrace.jenkins-ci.org/search?query=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 
jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit 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.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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 

Re: openjdk or oracle on RHEL7?

2014-11-13 Thread Mark Waite
Some time ago I had an issue where Oracle JDK was better behaved for me on
Linux than OpenJDK.  Because of that, I run my master server on Oracle JDK
(on Ubuntu 14.04 from a PPA that keeps Oracle JDK updated).  My CentOS 7
x64 machine is running OpenJDK as a slave and has been very reliable.

It has been a long time since I had that problem, and other of my slaves
are also running OpenJDK.  It has been enough time that I no longer
remember the details of the problem, so you should not consider either of
them broken based on my comments.

Mark Waite

On Thu, Nov 13, 2014 at 3:54 AM, Chris Withers ch...@simplistix.co.uk
wrote:

 Hi All,

 Which JVM is recommended for running Jenkins on RHEL7. Oracle's offering
 or OpenJDK?

 cheers,

 Chris

 --
 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.




-- 
Thanks!
Mark Waite

-- 
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.


Re: P4 plugin jenkins issue

2014-11-13 Thread Russ Tremain

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 + 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=FinishedFinished: 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.comjenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit 
https://groups.google.com/d/optouthttps://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.


RE: P4 plugin jenkins issue

2014-11-13 Thread Russ Tremain
http://repo1.maven.org/maven2/com/perforce/p4java/2013.2.788582/p4java 
is embedded in the jenkins p4-plugin.  the 
https://wiki.jenkins-ci.org/display/JENKINS/P4+Pluginnew 
plugin is pure java; the old plugin uses the 
perforce command-line interface.


At 1:39 PM + 11/13/14, Ginga, Dick wrote:

I don't see any p4java, so I guess you should switch to the other plugin

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On 
Behalf Of david.doug...@barclays.com

Sent: Thursday, November 13, 2014 5:54 AM
To: jenkinsci-users@googlegroups.com
Subject: RE: P4 plugin jenkins issue

I should clarify, that I was trying to use the 
P4 plugin (perforce written) rather than the 
Perforce Plugin (community plugin).


It would appear that the community Plugin does 
work; but I can't get the P4 plugin to workŠ


dD

From: 
mailto:jenkinsci-users@googlegroups.comjenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com] 
On Behalf Of Doughty, David : Corporate Banking

Sent: 13 November 2014 10:36
To: mailto:jenkinsci-users@googlegroups.comjenkinsci-users@googlegroups.com
Subject: RE: P4 plugin jenkins issue

P4JAVA, I've no idea what that is, I assumed it 
came as part of the P4 Plugin from Perforce


dD

From: 
mailto:jenkinsci-users@googlegroups.comjenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com] 
On Behalf Of Ginga, Dick

Sent: 12 November 2014 16:12
To: mailto:jenkinsci-users@googlegroups.comjenkinsci-users@googlegroups.com
Subject: RE: P4 plugin jenkins issue

We use Jenkins and the Perforce plugin (Jenkins 1.565.2 P4 1.3.26)

What are you using P4JAVA for?

From: 
mailto:jenkinsci-users@googlegroups.comjenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com] 
On Behalf Of 
mailto:david.doug...@barclays.comdavid.doug...@barclays.com

Sent: Wednesday, November 12, 2014 11:04 AM
To: mailto:jenkinsci-users@googlegroups.comjenkinsci-users@googlegroups.com
Subject: P4 plugin jenkins issue

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=FinishedFinished: 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.comjenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit 
https://groups.google.com/d/optouthttps://groups.google.com/d/optout.

--
You received this message because you 

Re: Implementing Email-ext plugin

2014-11-13 Thread Slide
You always need to specify the name of the template in the token in the
email content area for either the trigger or default project content.

On Wed Nov 12 2014 at 3:34:36 PM Jordan de Geus jordandeg...@gmail.com
wrote:

 Also another question I have. If you store your templates in
 JENKINS_HOME/email-template, does Jenkins automatically call the template
 when a failure occurs or do you specifically specify it?


 On Wednesday, November 12, 2014 1:30:35 PM UTC-8, Jordan de Geus wrote:

 Awesome! Thanks for that! Makes sense that you can specify the template
 in specific jobs.

 For storing the templates, can the be stored in our build privately
 similar to how we store our own unit/int tests? Or does it have to be done
 on the home side of things? - Reason i ask is due to some users not having
 admin access.

 On Tuesday, November 11, 2014 5:12:04 PM UTC-8, slide wrote:

 I don't know anything about dotci, but you can have different templates
 for different jobs easily. The templates need to be put in either the
 config file provider or in JENKINS_HOME/email-templates. You can specify
 the template in the specific jobs.

 On Tue, Nov 11, 2014, 17:49 Jordan de Geus jordan...@gmail.com wrote:

 Hey everyone!

 My company is currently using Dotci/Jenkins for our CI setup. I am
 trying to figureout what is needed to edit the automated emails for
 failures to contain information regarding what exactly failed.

 I've been browsing through the email-ext plugin page for some time now
 and can't really figure out what is needed to really make use of this
 plugin so here i am with a few questions to everyone!

 Once the plugin is installed on our CI servers, what is needed next? Do
 i customize the email templates and reference the location in the .ci.yml
 file stored in the home dir? Does it matter where the email templates are
 stored?

 Also since the company i work for is fairly large, we have multiple
 slaves as many teams are using the Jenkins setup. Is it possible to
 customize the template specifically for my team and not other teams?

 Thanks!

 --
 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-use...@googlegroups.com.
 For more options, visit 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.


-- 
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.


Re: openjdk or oracle on RHEL7?

2014-11-13 Thread Les Mikesell
On Thu, Nov 13, 2014 at 4:54 AM, Chris Withers ch...@simplistix.co.uk wrote:
 Hi All,

 Which JVM is recommended for running Jenkins on RHEL7. Oracle's offering or
 OpenJDK?


I don't think you'd see any difference right now.   And the stock
openjdk will be easier to keep updated along with the other system
updates.

-- 
   Les Mikesell
 lesmikes...@gmail.com

-- 
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.


RE: P4 plugin jenkins issue

2014-11-13 Thread david.doughty
Thanks Russ

Let me get that installed, and I'll let you know how I progress

dD

From: Russ Tremain [mailto:ru...@releasetools.org]
Sent: 13 November 2014 13:14
To: Doughty, David : Corporate Banking
Cc: jenkinsci-users@googlegroups.com
Subject: Re: P4 plugin jenkins issue

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 + 11/12/14, 
david.doug...@barclays.commailto: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)
Finishedhttp://stacktrace.jenkins-ci.org/search?query=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 
jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 

Re: openjdk or oracle on RHEL7?

2014-11-13 Thread Daniel Beck
Oracle JDK seems to generally work a little better, e.g. 
JENKINS-10442/JENKINS-23331 (that are probably the same issue).

On 13.11.2014, at 11:54, Chris Withers ch...@simplistix.co.uk wrote:

 Hi All,
 
 Which JVM is recommended for running Jenkins on RHEL7. Oracle's offering or 
 OpenJDK?
 
 cheers,
 
 Chris
 
 -- 
 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.

-- 
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.


Setting ProjectMatrixAuthorizationStrategy using Groovy

2014-11-13 Thread Sam Xiao
Hello all,

I was setting authorization strategy using groovy , so I can put it in the 
`init.groovy` as part of the Jenkins master setup.

I was having some error on no such property, so I wasn't sure what and 
how it got into that:

groovy.lang.MissingPropertyException: No such property: Permission[class 
hudson.model.Hudson,Administer] for class: 
hudson.security.ProjectMatrixAuthorizationStrategy


My code here:
gist https://gist.github.com/xbeta/e2a11a630ff814e6354f 

Thanks in advance for any help provided.

Thanks,
Sam.

-- 
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.


Archiving OSX .app's

2014-11-13 Thread Ginga, Dick
I can't get the Archive Artifacts post build step to archive MAC .app folders? 
I have tried:

Product.app*
Product.app*/*
Product.app/*
Product.app/Content* - this gets me the 2 folders in Contents but nor really 
what I want

I can archive .ipa's



Dick Ginga, Informatics RD
PerkinElmer Inc. | For the Better
HUMAN HEALTH | ENVIRONMENTAL HEALTH
940 Winter Street, Waltham MA 02451

dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com
Mobile - 508-847-1434
Office - 781-663-6947


-- 
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.


Re: Archiving OSX .app's

2014-11-13 Thread Richard Bywater
How about Product.app/**/* ?

Richard

On Fri, Nov 14, 2014 at 8:37 AM, Ginga, Dick dick.gi...@perkinelmer.com
wrote:

  I can’t get the Archive Artifacts post build step to archive MAC .app
 folders? I have tried:



 Product.app*

 Product.app*/*

 Product.app/*

 Product.app/Content* - this gets me the 2 folders in Contents but nor
 really what I want



 I can archive .ipa’s







 *Dick Ginga, Informatics RD*

 *PerkinElmer Inc. *
 *| For the Better **HUMAN HEALTH **|* *ENVIRONMENTAL HEALTH*
 940 Winter Street, Waltham MA 02451



 *dick.ginga**@perkinelmer.com ed.cof...@perkinelmer.com*

 Mobile – 508-847-1434

 Office – 781-663-6947



 --
 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.


-- 
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.


Re: Setting ProjectMatrixAuthorizationStrategy using Groovy

2014-11-13 Thread Sam Xiao
Sorry Daniel! I copied the wrong log. I fixed and updated the gist.

On Thursday, November 13, 2014 12:54:09 PM UTC-8, Daniel Beck wrote:

 Did you paste the entire script? The stack trace mentions line 41... 

 On 13.11.2014, at 20:34, Sam Xiao sam.x...@gmail.com javascript: 
 wrote: 

  Hello all, 
  
  I was setting authorization strategy using groovy , so I can put it in 
 the `init.groovy` as part of the Jenkins master setup. 
  
  I was having some error on no such property, so I wasn't sure what and 
 how it got into that: 
  
  groovy.lang.MissingPropertyException: No such property: Permission[class 
 hudson.model.Hudson,Administer] for class: 
 hudson.security.ProjectMatrixAuthorizationStrategy 
  
  My code here: 
  gist 
  
  Thanks in advance for any help provided. 
  
  Thanks, 
  Sam. 
  
  -- 
  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-use...@googlegroups.com javascript:. 
  For more options, visit 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.


Re: Passing environment variables using the parameterized trigger plugin

2014-11-13 Thread Adam Mercer
On Fri, Nov 7, 2014 at 7:17 AM, Daniel Beck m...@beckweb.net wrote:
 Is the downstream build triggered for every matrix axis that finishes 
 building, or only once, when all axes finished?

Sorry for the delay I've been busy with getting a release out of the door.

The downstream build is triggered when all axes are finished.

Cheers

Adam

-- 
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.


RE: Archiving OSX .app's

2014-11-13 Thread Ginga, Dick
Nope, that gives me all the files flattened, no structure.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Richard Bywater
Sent: Thursday, November 13, 2014 2:59 PM
To: jenkinsci-users@googlegroups.com
Subject: Re: Archiving OSX .app's

How about Product.app/**/* ?
Richard

On Fri, Nov 14, 2014 at 8:37 AM, Ginga, Dick 
dick.gi...@perkinelmer.commailto:dick.gi...@perkinelmer.com wrote:
I can’t get the Archive Artifacts post build step to archive MAC .app folders? 
I have tried:

Product.app*
Product.app*/*
Product.app/*
Product.app/Content* - this gets me the 2 folders in Contents but nor really 
what I want

I can archive .ipa’s



Dick Ginga, Informatics RD
PerkinElmer Inc. | For the Better
HUMAN HEALTH | ENVIRONMENTAL HEALTH
940 Winter Street, Waltham MA 02451

dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com
Mobile – 508-847-1434
Office – 781-663-6947

--
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.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit 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.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit 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.


RE: Archiving OSX .app's

2014-11-13 Thread Ginga, Dick
Oh, wait maybe it did work!

From: Ginga, Dick
Sent: Thursday, November 13, 2014 4:31 PM
To: jenkinsci-users@googlegroups.com
Subject: RE: Archiving OSX .app's

Nope, that gives me all the files flattened, no structure.

From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Richard Bywater
Sent: Thursday, November 13, 2014 2:59 PM
To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com
Subject: Re: Archiving OSX .app's

How about Product.app/**/* ?
Richard

On Fri, Nov 14, 2014 at 8:37 AM, Ginga, Dick 
dick.gi...@perkinelmer.commailto:dick.gi...@perkinelmer.com wrote:
I can’t get the Archive Artifacts post build step to archive MAC .app folders? 
I have tried:

Product.app*
Product.app*/*
Product.app/*
Product.app/Content* - this gets me the 2 folders in Contents but nor really 
what I want

I can archive .ipa’s



Dick Ginga, Informatics RD
PerkinElmer Inc. | For the Better
HUMAN HEALTH | ENVIRONMENTAL HEALTH
940 Winter Street, Waltham MA 02451

dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com
Mobile – 508-847-1434
Office – 781-663-6947

--
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.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit 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.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit 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.


Re: Passing environment variables using the parameterized trigger plugin

2014-11-13 Thread Daniel Beck

On 13.11.2014, at 22:21, Adam Mercer r...@gravity.phys.uwm.edu wrote:

 The downstream build is triggered when all axes are finished.

So it behaves correctly. The label part is only part of the sub-builds (where 
the project name has the suffix with the active axis values), not the overall 
build (which does not), and if the trigger is run once for the overall build, 
the axes values are not part of that.

-- 
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.


Re: Passing environment variables using the parameterized trigger plugin

2014-11-13 Thread Adam Mercer
On Thu, Nov 13, 2014 at 4:17 PM, Daniel Beck m...@beckweb.net wrote:

 So it behaves correctly. The label part is only part of the sub-builds (where 
 the project name has the suffix with the active axis values), not the overall 
 build (which does not), and if the trigger is run once for the overall build, 
 the axes values are not part of that.

Ok thanks. Looks like I've going to pass the parameters via a file.

Cheers

Adam

-- 
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.


Testlink - Execution Status of each step in testcase

2014-11-13 Thread twangtrust
Is there any way to make the results of each step from the tap file appear in
the execution results and execution status of each individual step (as in
the second image generated from a manual test) rather than show the whole
file in the execution notes of the test case (as in the first image
generated from a automated test). 
I have included my Jenkins config (config.xml), testlink config (My first
project.testproject-deep.xml), tap files, as well as report results of a
manual and automated build. 

http://jenkins-ci.361315.n4.nabble.com/file/n4727230/Test02_Auto.jpg 

http://jenkins-ci.361315.n4.nabble.com/file/n4727230/Test01_Manual.jpg 

config.xml http://jenkins-ci.361315.n4.nabble.com/file/n4727230/config.xml  
My_first_project.xml
http://jenkins-ci.361315.n4.nabble.com/file/n4727230/My_first_project.xml  
hudson.tap http://jenkins-ci.361315.n4.nabble.com/file/n4727230/hudson.tap  
TestCase02.tap
http://jenkins-ci.361315.n4.nabble.com/file/n4727230/TestCase02.tap  
MFP-2014-10-01_Auto.doc
http://jenkins-ci.361315.n4.nabble.com/file/n4727230/MFP-2014-10-01_Auto.doc  
MFP-2014-10-01_Manual.doc
http://jenkins-ci.361315.n4.nabble.com/file/n4727230/MFP-2014-10-01_Manual.doc
  


PS: My filenames seem to have been truncated during upload. 
new name // originally name 
hudson.tap // hudson.plugins.testlink.examples.TestCurrentTime.tap 
TestCase02.tap // TestCase02.JavaClass.tap 
My first project.xml //My first project.testproject-deep.xml 

Thanks very much  !



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/Testlink-Execution-Status-of-each-step-in-testcase-tp4727230.html
Sent from the Jenkins users mailing list archive at Nabble.com.

-- 
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.


Re: How long does it take Jenkins to realize slaves are offline?

2014-11-13 Thread Dale Quigg
-- rginga says ---
 I was just looking at out revert job. This is what we found works pretty
reliably. We produce snapshots in powered down state.

 Issue the revert to snapshot command

 This waits for Jenkins to miss the slave
 java -jar C:\Tools\BuildTools\jenkins-cli.jar -s http://.net:8082/
wait-node-offline %VMNAME%

 power up the VM

 this waits for Jenkins to see the slave again
 java -jar C:\Tools\BuildTools\jenkins-cli.jar -s http://xx.net:8082/
wait-node-online %VMNAME%

Thanks!  I think 'wait-node-offline' is what I'm looking for.

I appreciate your reply.
Dale


On Wed, Nov 12, 2014 at 9:39 AM, Dale Quigg d...@revolutionanalytics.com
wrote:

 Hi,

 For our nightly testing, we revert slaves to a VMware snapshot before
 starting jobs.

 Most of the time this works, but sometimes the first job after the revert
 job fails.

 The weird part is that a downstream job that runs on the same slave
 will often succeed less than two minutes after the upstream failure.

 I'm guessing that Jenkins thinks the slave is still online and rejecting
 the connection and/or not connecting.

 My idea for a work-around is to add a snooze time after the revert.
 This way, Jenkins can figure out that the slave is offline.

 So, what amount of time is necessary for Jenkins to realize that a slave
 is offline?
 5, 10, ?? minutes?

 Note that for non-windows slaves, I'm not disconnecting the slave prior to
 revert.  I had a good reason for doing this at the time, but can not
 remember it.

 Below are some snippets of console output showing my situation.

 Running Jenkins ver. 1.509.1

 Thanks,
 Dale

 
 http://jenkins/job/Job-A/549/console
 
 21:45:38 NOT Disconnecting Hudson client before powering on machine:
 AT03-cent5.  (non-Windows slave)
 21:45:38 Revert vm 'AT03-cent5' to snapshot '2014-11-03'.
 21:45:38 Power on vm AT03-cent5.
 21:45:38 Spent 4.327958 seconds powering on.
 21:45:38 Snooze an extra 180 seconds to allow boot completion...
 snip
 21:48:40 Finished: SUCCESS

 -
 http://jenkins/job/Job-B/1109/console
 -
 21:48:46 Started by upstream project Job-A build number 549
 snip
 21:48:49 Building remotely on AT03-cent5 in workspace
 /opt/hudson/workspace/Job-A
 21:51:28 FATAL: hudson.remoting.RequestAbortedException:
 java.io.IOException: Unexpected termination of the channel
 snip

 
 http://jenkins/job/Job-C/740/consoleFull
 
 21:52:51 Started by upstream project Job-B build number 1109
 21:52:54 Building remotely on AT03-cent5 in workspace
 /opt/hudson/workspace/Job-C
 snip
 22:35:13 Finished: SUCCESS


 --
 Dale Quigg
 Revolution Analytics, Inc.




-- 
Dale Quigg
Revolution Analytics, Inc.
206-456-6077

-- 
 

Revolution R Plus http://revolutionanalytics.com/plus

Subscribe to Technical Support  Indemnification for R

-- 
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.


Joining Build Pipeline steps

2014-11-13 Thread Tomas Pekarovic
hello All..

 I recently started to use jekins for starting of test automation 
execution. Best for me is to prepare build pipeline. And I started with 
it...

This is how my pipeline looks like so far.

https://lh3.googleusercontent.com/-hHqnutIcoh0/VGWwH-0efhI/AWU/Pxpd3__LzBM/s1600/Screen%2BShot%2B2014-11-14%2Bat%2B08.31.29.png
Right now I'm trying to figure how to execute next job... Let's call him 
*EFSW_Activate*.  This job can be started after jobs  EFSW_Install_x86 and 
EFSW_Install_x64 is finished.
But I cant figure how to launch job after both of Install jobs are over...

Can somebody help me with this? right now install jobs have no other 
post-build than  gathering results.
I'm looking for solution 3rd day now.. I tried to use  join plugin, but I 
don't know how to configure it.

-- 
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.