RE: How to set email address for a user when using AD?

2014-04-11 Thread David Aldrich
Hi Slide

Thanks for your reply. I have done what you suggested and am happy with that.

But, I am right in thinking I can't get to 
http://YOURSERVER/jenkins/user/fbloggs/configure from the menus?  Isn't that a 
bit odd?

Best regards

David

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Slide
Sent: 10 April 2014 18:35
To: Jenkins User Mailing List
Subject: Re: How to set email address for a user when using AD?

The easiest way would be to go to 
http://YOURSERVER/jenkins/user/fbloggs/configure and enter the correct email 
address. The email plugins should pickup the address from there going foward.

On Thu, Apr 10, 2014 at 9:41 AM, David Aldrich 
david.aldr...@emea.nec.commailto:david.aldr...@emea.nec.com wrote:
Hi

We use Active Directory to authenticate users in Jenkins.  Email to one of our 
users is going to the wrong email address.

If his name is Fred Bloggs, his svn credentials are fbloggs, and Jenkins is 
sending the email to fbloggs@ourdomain.  But his email address is 
fred.bloggs@ourdomainmailto:fred.bloggs@ourdomain.  How can I fix that please?

Best regards

David

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



--
Website: http://earl-of-code.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.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Click 
herehttps://www.mailcontrol.com/sr/bbPdUfAEtBbGX2PQPOmvUg0KooX!PhOybSFAbBp7xvPoOez9hwPnqDI37yqzjQHZMUINLkuKsKuqQH8FWVwkvA==
 to report this email as spam.

-- 
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 to set email address for a user when using AD?

2014-04-11 Thread Richard Bywater
The People link will/should get you there (at least does on my install)

Richard

On Friday, April 11, 2014, David Aldrich david.aldr...@emea.nec.com wrote:

  Hi Slide



 Thanks for your reply. I have done what you suggested and am happy with
 that.



 But, I am right in thinking I can't get to
 http://YOURSERVER/jenkins/user/fbloggs/configure from the menus?  Isn't
 that a bit odd?



 Best regards



 David



 *From:* 
 jenkinsci-users@googlegroups.comjavascript:_e(%7B%7D,'cvml','jenkinsci-users@googlegroups.com');[mailto:
 jenkinsci-users@googlegroups.comjavascript:_e(%7B%7D,'cvml','jenkinsci-users@googlegroups.com');]
 *On Behalf Of *Slide
 *Sent:* 10 April 2014 18:35
 *To:* Jenkins User Mailing List
 *Subject:* Re: How to set email address for a user when using AD?



 The easiest way would be to go to
 http://YOURSERVER/jenkins/user/fbloggs/configure and enter the correct
 email address. The email plugins should pickup the address from there going
 foward.



 On Thu, Apr 10, 2014 at 9:41 AM, David Aldrich 
 david.aldr...@emea.nec.comjavascript:_e(%7B%7D,'cvml','david.aldr...@emea.nec.com');
 wrote:

 Hi



 We use Active Directory to authenticate users in Jenkins.  Email to one of
 our users is going to the wrong email address.



 If his name is Fred Bloggs, his svn credentials are fbloggs, and Jenkins
 is sending the email to fbloggs@ourdomain.  But his email address is
 fred.bloggs@ourdomainjavascript:_e(%7B%7D,'cvml','fred.bloggs@ourdomain');.
  How can I fix that please?



 Best regards



 David



 --
 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.comjavascript:_e(%7B%7D,'cvml','jenkinsci-users%2bunsubscr...@googlegroups.com');
 .
 For more options, visit https://groups.google.com/d/optout.





 --
 Website: http://earl-of-code.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.comjavascript:_e(%7B%7D,'cvml','jenkinsci-users%2bunsubscr...@googlegroups.com');
 .
 For more options, visit https://groups.google.com/d/optout.

  Click 
 herehttps://www.mailcontrol.com/sr/bbPdUfAEtBbGX2PQPOmvUg0KooX!PhOybSFAbBp7xvPoOez9hwPnqDI37yqzjQHZMUINLkuKsKuqQH8FWVwkvA==to
  report this email as spam.

 --
 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.comjavascript:_e(%7B%7D,'cvml','jenkinsci-users%2bunsubscr...@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: How to set email address for a user when using AD?

2014-04-11 Thread David Aldrich
My People link gives an empty list of people.  Is that because I am using 
Active Directory?

David

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Richard Bywater
Sent: 11 April 2014 09:04
To: jenkinsci-users@googlegroups.com
Subject: Re: How to set email address for a user when using AD?

The People link will/should get you there (at least does on my install)

Richard

On Friday, April 11, 2014, David Aldrich 
david.aldr...@emea.nec.commailto:david.aldr...@emea.nec.com wrote:
Hi Slide

Thanks for your reply. I have done what you suggested and am happy with that.

But, I am right in thinking I can't get to 
http://YOURSERVER/jenkins/user/fbloggs/configure from the menus?  Isn't that a 
bit odd?

Best regards

David

From: 
jenkinsci-users@googlegroups.comjavascript:_e(%7B%7D,'cvml','jenkinsci-users@googlegroups.com');
 
[mailto:jenkinsci-users@googlegroups.comjavascript:_e(%7B%7D,'cvml','jenkinsci-users@googlegroups.com');]
 On Behalf Of Slide
Sent: 10 April 2014 18:35
To: Jenkins User Mailing List
Subject: Re: How to set email address for a user when using AD?

The easiest way would be to go to 
http://YOURSERVER/jenkins/user/fbloggs/configure and enter the correct email 
address. The email plugins should pickup the address from there going foward.

On Thu, Apr 10, 2014 at 9:41 AM, David Aldrich 
david.aldr...@emea.nec.comjavascript:_e(%7B%7D,'cvml','david.aldr...@emea.nec.com');
 wrote:
Hi

We use Active Directory to authenticate users in Jenkins.  Email to one of our 
users is going to the wrong email address.

If his name is Fred Bloggs, his svn credentials are fbloggs, and Jenkins is 
sending the email to fbloggs@ourdomain.  But his email address is 
fred.bloggs@ourdomainjavascript:_e(%7B%7D,'cvml','fred.bloggs@ourdomain');.  
How can I fix that please?

Best regards

David

--
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.comjavascript:_e(%7B%7D,'cvml','jenkinsci-users%2bunsubscr...@googlegroups.com');.
For more options, visit https://groups.google.com/d/optout.



--
Website: http://earl-of-code.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.comjavascript:_e(%7B%7D,'cvml','jenkinsci-users%2bunsubscr...@googlegroups.com');.
For more options, visit https://groups.google.com/d/optout.

Click 
herehttps://www.mailcontrol.com/sr/bbPdUfAEtBbGX2PQPOmvUg0KooX!PhOybSFAbBp7xvPoOez9hwPnqDI37yqzjQHZMUINLkuKsKuqQH8FWVwkvA==
 to report this email as spam.
--
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.comjavascript:_e(%7B%7D,'cvml','jenkinsci-users%2bunsubscr...@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: Rebuild job on the same node as before

2014-04-11 Thread Björn Pedersen


Am Mittwoch, 9. April 2014 08:22:41 UTC+2 schrieb Christoph Vollmer:

 Hey,

 we are using jenkins to build an android rom every night for many devices.
 Currently we set up a matrix job which has 1 axis with build parameters 
 (the actual devices name) and 1 axis for the node selection (contains ~20 
 nodes).

 Example for the device axis (contains ~120 entries):
 device1
 device2
 device3
 

 the build is started by executing a shell command, 
 Example:

 start_build.sh $device



Why do you have the nodes as axis anyway? I would probably use a label 
requirement for devices. This way, you should be able to tie the deviceto a 
specific node.

Björn

-- 
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: Rebuild job on the same node as before

2014-04-11 Thread Christoph Vollmer
Yeah but this would require all nodes beeing active everytime.
If one node stays offline and is tied to ~10 devices those devices wouldn't
get a nightly build this time ...
Since we've got only ~ 15 core nodes that are online 90% of the time and
a few more that are online from time to time this would need constant
tweaking of the build configuration.
I've had a look at the jenkins source code and i guess it what i want could
be done very easy by modifying the canTake() function of the slave
computer.
But i have yet found an easy tutorial on howto create a plugin that messes
around with overriding existing function (i dont know if this possible at
all) nor do i know how i could replace the slave class with a overloaded
class. But i guess this is a little bit offtopic..

- Chris


2014-04-11 10:09 GMT+02:00 Björn Pedersen icee...@googlemail.com:



 Am Mittwoch, 9. April 2014 08:22:41 UTC+2 schrieb Christoph Vollmer:

 Hey,

 we are using jenkins to build an android rom every night for many devices.
 Currently we set up a matrix job which has 1 axis with build parameters
 (the actual devices name) and 1 axis for the node selection (contains ~20
 nodes).

 Example for the device axis (contains ~120 entries):
 device1
 device2
 device3
 

 the build is started by executing a shell command,
 Example:

 start_build.sh $device



 Why do you have the nodes as axis anyway? I would probably use a label
 requirement for devices. This way, you should be able to tie the deviceto a
 specific node.

 Björn

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Jenkins Users group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/jenkinsci-users/V4qA8eL8RvM/unsubscribe.
 To unsubscribe from this group and all its topics, 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: Where did the maven deploy plugin go?

2014-04-11 Thread Costin Caraivan
Ignore that email, I found it. I was looking at the Post build steps and
it actually was in the Post build actions. Confusing naming :(

This also means that a freestyle project invoking Maven won't have it
available :(

_
Costin Caraivan


On Fri, Apr 11, 2014 at 11:35 AM, Costin Caraivan
costincarai...@gmail.comwrote:

 I'm not seeing it, Jenkins 1.534. Is it part of a newer release?

 _
 Costin Caraivan


 On Thu, Apr 10, 2014 at 10:49 AM, teilo teilo+goo...@teilo.net wrote:

 It shows up for me as part of the standard maven plugin, under a post
 build action

 --
 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: Where did the maven deploy plugin go?

2014-04-11 Thread Baptiste Mathus
IIUC, I would recommend doing without it actually.

Now that the standard maven-deploy-plugin supports this feature out of the
box [1], doing this through Jenkins ties your build a bit too much to
Jenkins IMO.
Ideally, for debugging reasons in general, you should try and have
something that would behave outside Jenkins close to as it behaves inside
it.

Cheers
[1]
https://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#deployAtEnd


2014-04-11 10:39 GMT+02:00 Costin Caraivan costincarai...@gmail.com:

 Ignore that email, I found it. I was looking at the Post build steps and
 it actually was in the Post build actions. Confusing naming :(

 This also means that a freestyle project invoking Maven won't have it
 available :(

 _
 Costin Caraivan


 On Fri, Apr 11, 2014 at 11:35 AM, Costin Caraivan 
 costincarai...@gmail.com wrote:

 I'm not seeing it, Jenkins 1.534. Is it part of a newer release?

 _
 Costin Caraivan


 On Thu, Apr 10, 2014 at 10:49 AM, teilo teilo+goo...@teilo.net wrote:

 It shows up for me as part of the standard maven plugin, under a post
 build action

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




-- 
Baptiste Batmat MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

-- 
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 to set email address for a user when using AD?

2014-04-11 Thread Richard Bywater
Odd - I'm using AD too and I can see a list of people who have logged in
and SCM ids...

Richard.

On Friday, April 11, 2014, David Aldrich david.aldr...@emea.nec.com wrote:

  My People link gives an empty list of people.  Is that because I am
 using Active Directory?



 David



 *From:* 
 jenkinsci-users@googlegroups.comjavascript:_e(%7B%7D,'cvml','jenkinsci-users@googlegroups.com');[mailto:
 jenkinsci-users@googlegroups.comjavascript:_e(%7B%7D,'cvml','jenkinsci-users@googlegroups.com');]
 *On Behalf Of *Richard Bywater
 *Sent:* 11 April 2014 09:04
 *To:* 
 jenkinsci-users@googlegroups.comjavascript:_e(%7B%7D,'cvml','jenkinsci-users@googlegroups.com');
 *Subject:* Re: How to set email address for a user when using AD?



 The People link will/should get you there (at least does on my install)



 Richard

 On Friday, April 11, 2014, David Aldrich david.aldr...@emea.nec.com
 wrote:

 Hi Slide



 Thanks for your reply. I have done what you suggested and am happy with
 that.



 But, I am right in thinking I can't get to
 http://YOURSERVER/jenkins/user/fbloggs/configure from the menus?  Isn't
 that a bit odd?



 Best regards



 David



 *From:* jenkinsci-users@googlegroups.com [mailto:
 jenkinsci-users@googlegroups.com] *On Behalf Of *Slide
 *Sent:* 10 April 2014 18:35
 *To:* Jenkins User Mailing List
 *Subject:* Re: How to set email address for a user when using AD?



 The easiest way would be to go to
 http://YOURSERVER/jenkins/user/fbloggs/configure and enter the correct
 email address. The email plugins should pickup the address from there going
 foward.



 On Thu, Apr 10, 2014 at 9:41 AM, David Aldrich david.aldr...@emea.nec.com
 wrote:

 Hi



 We use Active Directory to authenticate users in Jenkins.  Email to one of
 our users is going to the wrong email address.



 If his name is Fred Bloggs, his svn credentials are fbloggs, and Jenkins
 is sending the email to fbloggs@ourdomain.  But his email address is
 fred.bloggs@ourdomain.  How can I fix that please?



 Best regards



 David



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





 --
 Website: http://earl-of-code.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.comjavascript:_e(%7B%7D,'cvml','jenkinsci-users%2bunsubscr...@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: How to set email address for a user when using AD?

2014-04-11 Thread David Aldrich
Hi Richard

That isn't the case for me.

I have Manage Jenkins  Configure Global Security  Access Control  Security 
Realm set to Active Directory

My People list is empty (previously contained entries before I used active 
directory).

BR

David


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Richard Bywater
Sent: 11 April 2014 10:30
To: jenkinsci-users@googlegroups.com
Subject: Re: How to set email address for a user when using AD?

Odd - I'm using AD too and I can see a list of people who have logged in and 
SCM ids...

Richard.

On Friday, April 11, 2014, David Aldrich 
david.aldr...@emea.nec.commailto:david.aldr...@emea.nec.com wrote:
My People link gives an empty list of people.  Is that because I am using 
Active Directory?

David

From: 
jenkinsci-users@googlegroups.comjavascript:_e(%7B%7D,'cvml','jenkinsci-users@googlegroups.com');
 
[mailto:jenkinsci-users@googlegroups.comjavascript:_e(%7B%7D,'cvml','jenkinsci-users@googlegroups.com');]
 On Behalf Of Richard Bywater
Sent: 11 April 2014 09:04
To: 
jenkinsci-users@googlegroups.comjavascript:_e(%7B%7D,'cvml','jenkinsci-users@googlegroups.com');
Subject: Re: How to set email address for a user when using AD?



The People link will/should get you there (at least does on my install)



Richard

On Friday, April 11, 2014, David Aldrich 
david.aldr...@emea.nec.commailto:david.aldr...@emea.nec.com wrote:

Hi Slide



Thanks for your reply. I have done what you suggested and am happy with that.



But, I am right in thinking I can't get to 
http://YOURSERVER/jenkins/user/fbloggs/configure from the menus?  Isn't that a 
bit odd?



Best regards



David



From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Slide
Sent: 10 April 2014 18:35
To: Jenkins User Mailing List
Subject: Re: How to set email address for a user when using AD?



The easiest way would be to go to 
http://YOURSERVER/jenkins/user/fbloggs/configure and enter the correct email 
address. The email plugins should pickup the address from there going foward.



On Thu, Apr 10, 2014 at 9:41 AM, David Aldrich 
david.aldr...@emea.nec.commailto:david.aldr...@emea.nec.com wrote:

Hi



We use Active Directory to authenticate users in Jenkins.  Email to one of our 
users is going to the wrong email address.



If his name is Fred Bloggs, his svn credentials are fbloggs, and Jenkins is 
sending the email to fbloggs@ourdomain.  But his email address is 
fred.bloggs@ourdomainmailto:fred.bloggs@ourdomain.  How can I fix that please?



Best regards



David



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





--
Website: http://earl-of-code.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.comjavascript:_e(%7B%7D,'cvml','jenkinsci-users%2bunsubscr...@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.


Click 
herehttps://www.mailcontrol.com/sr/43765ct6TN7GX2PQPOmvUiQSa3+T5MHv3EgrBpxoX7WKtlkiLZGInSdxewxG!rgku8jWC8Lj0FUc1vNYau6exQ==
 to report this email as spam.

-- 
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: Where did the maven deploy plugin go?

2014-04-11 Thread Costin Caraivan
Oh, nice, I had missed that. You're right, much better to do it directly
from Maven.

_
Costin Caraivan


On Fri, Apr 11, 2014 at 11:43 AM, Baptiste Mathus bmat...@batmat.netwrote:

 IIUC, I would recommend doing without it actually.

 Now that the standard maven-deploy-plugin supports this feature out of the
 box [1], doing this through Jenkins ties your build a bit too much to
 Jenkins IMO.
 Ideally, for debugging reasons in general, you should try and have
 something that would behave outside Jenkins close to as it behaves inside
 it.

 Cheers
 [1]
 https://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#deployAtEnd


 2014-04-11 10:39 GMT+02:00 Costin Caraivan costincarai...@gmail.com:

 Ignore that email, I found it. I was looking at the Post build steps and
 it actually was in the Post build actions. Confusing naming :(

 This also means that a freestyle project invoking Maven won't have it
 available :(

 _
 Costin Caraivan


 On Fri, Apr 11, 2014 at 11:35 AM, Costin Caraivan 
 costincarai...@gmail.com wrote:

 I'm not seeing it, Jenkins 1.534. Is it part of a newer release?

 _
 Costin Caraivan


 On Thu, Apr 10, 2014 at 10:49 AM, teilo teilo+goo...@teilo.net wrote:

 It shows up for me as part of the standard maven plugin, under a post
 build action

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




 --
 Baptiste Batmat MATHUS - http://batmat.net
 Sauvez un arbre,
 Mangez un castor !

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


upload ssl keys jenkins

2014-04-11 Thread parakrama55 .
Hi guys

i have valid certificate *jenkin.key* and *jenkin.crt*   can you guys tell
me how can i upload ssl keys to jenkins keystore

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


RE: How to set email address for a user when using AD?

2014-04-11 Thread Slide
I also use AD and have a list of people when I browse to the People page.
What version of Jenkins are you using?
On Apr 11, 2014 2:52 AM, David Aldrich david.aldr...@emea.nec.com wrote:

  Hi Richard



 That isn't the case for me.



 I have *Manage Jenkins  Configure Global Security  Access Control 
 Security Realm* set to *Active Directory*



 My People list is empty (previously contained entries before I used active
 directory).



 BR

 David





 *From:* jenkinsci-users@googlegroups.com [mailto:
 jenkinsci-users@googlegroups.com] *On Behalf Of *Richard Bywater
 *Sent:* 11 April 2014 10:30
 *To:* jenkinsci-users@googlegroups.com
 *Subject:* Re: How to set email address for a user when using AD?



 Odd - I'm using AD too and I can see a list of people who have logged in
 and SCM ids...



 Richard.

 On Friday, April 11, 2014, David Aldrich david.aldr...@emea.nec.com
 wrote:

 My People link gives an empty list of people.  Is that because I am using
 Active Directory?



 David



 *From:* jenkinsci-users@googlegroups.com [mailto:
 jenkinsci-users@googlegroups.com] *On Behalf Of *Richard Bywater
 *Sent:* 11 April 2014 09:04
 *To:* jenkinsci-users@googlegroups.com
 *Subject:* Re: How to set email address for a user when using AD?



 The People link will/should get you there (at least does on my install)



 Richard

 On Friday, April 11, 2014, David Aldrich david.aldr...@emea.nec.com
 wrote:

 Hi Slide



 Thanks for your reply. I have done what you suggested and am happy with
 that.



 But, I am right in thinking I can't get to
 http://YOURSERVER/jenkins/user/fbloggs/configure from the menus?  Isn't
 that a bit odd?



 Best regards



 David



 *From:* jenkinsci-users@googlegroups.com [
 mailto:jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com]
 *On Behalf Of *Slide
 *Sent:* 10 April 2014 18:35
 *To:* Jenkins User Mailing List
 *Subject:* Re: How to set email address for a user when using AD?



 The easiest way would be to go to
 http://YOURSERVER/jenkins/user/fbloggs/configure and enter the correct
 email address. The email plugins should pickup the address from there going
 foward.



 On Thu, Apr 10, 2014 at 9:41 AM, David Aldrich david.aldr...@emea.nec.com
 wrote:

 Hi



 We use Active Directory to authenticate users in Jenkins.  Email to one of
 our users is going to the wrong email address.



 If his name is Fred Bloggs, his svn credentials are fbloggs, and Jenkins
 is sending the email to fbloggs@ourdomain.  But his email address is
 fred.bloggs@ourdomain.  How can I fix that please?



 Best regards



 David



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





 --
 Website: http://earl-of-code.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.

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

  Click 
 herehttps://www.mailcontrol.com/sr/43765ct6TN7GX2PQPOmvUiQSa3+T5MHv3EgrBpxoX7WKtlkiLZGInSdxewxG!rgku8jWC8Lj0FUc1vNYau6exQ==to
  report this email as spam.

 --
 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: Rebuild job on the same node as before

2014-04-11 Thread Les Mikesell
On Fri, Apr 11, 2014 at 3:17 AM, Christoph Vollmer
christoph.vollmer...@gmail.com wrote:
 Yeah but this would require all nodes beeing active everytime.
 If one node stays offline and is tied to ~10 devices those devices wouldn't
 get a nightly build this time ...

You can put a device label on more than one node.  Jenkins will reuse
the previous one for the matching build if it is available.  Is the
real issue here that your matrix is bigger than the available set of
nodes? If the previous node is currently busy, the job goes to an
available node instead of queuing.

-- 
  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: Outlook365 email notification is failing

2014-04-11 Thread Slide
Can you post your configuration? I helped someone some time back get it
working, but I don't remember everything we did. If I remember correctly,
the admin email address had to match the user that you are using in the
authentication. You also need to NOT use SSL, but enable STARTTLS.


On Thu, Apr 10, 2014 at 10:50 PM, Munaf Kotawdekar kmu...@gmail.com wrote:

 Hi,
 I have configured outlook 365 email to work with Jenkins for notifications
 when build fails. Somehow it is not working. I have configured appropriate
 settings for Outlook online and also setup required TLS parameter in
 startup.


  I get the following error:

 ERROR: No authentication mechansims supported by both server and client
 *javax.mail.AuthenticationFailedException*http://stacktrace.jenkins-ci.org/search?query=javax.mail.AuthenticationFailedException:
 No authentication mechansims supported by both server and client
 at 
 *com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:756)*http://stacktrace.jenkins-ci.org/search/?query=com.sun.mail.smtp.SMTPTransport.authenticateentity=method
 at
 *com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:669)*http://stacktrace.jenkins-ci.org/search/?query=com.sun.mail.smtp.SMTPTransport.protocolConnectentity=method
 at 
 *javax.mail.Service.connect(Service.java:317)*http://stacktrace.jenkins-ci.org/search/?query=javax.mail.Service.connectentity=method
 at 
 *javax.mail.Service.connect(Service.java:176)*http://stacktrace.jenkins-ci.org/search/?query=javax.mail.Service.connectentity=method
 at 
 *javax.mail.Service.connect(Service.java:125)*http://stacktrace.jenkins-ci.org/search/?query=javax.mail.Service.connectentity=method
 at 
 *javax.mail.Transport.send0(Transport.java:194)*http://stacktrace.jenkins-ci.org/search/?query=javax.mail.Transport.send0entity=method
 at 
 *javax.mail.Transport.send(Transport.java:124)*http://stacktrace.jenkins-ci.org/search/?query=javax.mail.Transport.sendentity=method
 at 
 *hudson.tasks.MailSender.execute(MailSender.java:116)*http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.MailSender.executeentity=method
 at 
 *hudson.tasks.Mailer.perform(Mailer.java:117)*http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.Mailer.performentity=method
 at 
 *hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)*http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.BuildStepMonitor$1.performentity=method
 at
 *hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:781)*http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.performentity=method
 at
 *hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:753)*http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildStepsentity=method
 at 
 *hudson.model.Build$BuildExecution.post2(Build.java:183)*http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Build$BuildExecution.post2entity=method
 at
 *hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706)*http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.postentity=method
 at 
 *hudson.model.Run.execute(Run.java:1690)*http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.executeentity=method
 at 
 *hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)*http://stacktrace.jenkins-ci.org/search/?query=hudson.model.FreeStyleBuild.runentity=method
 at 
 *hudson.model.ResourceController.execute(ResourceController.java:88)*http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.executeentity=method
 at 
 *hudson.model.Executor.run(Executor.java:246)*http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.runentity=method
 Finished: FAILURE

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




-- 
Website: http://earl-of-code.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.


GitHub access using access token and Basic Authentication no longer working

2014-04-11 Thread Chris Jansen

Hi,

I have been using a GitHub personal access token and basic authentication 
to pull from private GitHub repos from Jenkins. I use the GitHub Plugin, 
and then for each project, the GitHub Project and Git Repository URL 
settings are the same, with a format of: 
https://user:access_token@github.com/account/repo/.

This has been working fine for months, until this past Wednesday. Now 
whenever I build I get an 'Invalid username or password' error (see below).

I recreated the GitHub access token, which didn't fix the problem. I'm 
think the issue is on the Jenkins side, since I can use the same URL on the 
command-line to clone the repo, and it works fine.

I upgraded Jenkins to 1.558, but then reverted back to 1.555, thinking the 
upgrade could have caused the problem. I'm still stuck without being able 
to pull from GitHub though.

Started by user anonymous
Building on master in workspace c:\build\ProjectA
Fetching changes from the remote Git repository
Fetching upstream changes from https://u...@github.com/account/repo/
FATAL: Failed to fetch from https://u...@github.com/account/repo/
hudson.plugins.git.GitException: Failed to fetch from 
https://u...@github.com/account/repo/
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:623)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:855)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:880)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1414)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:671)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:580)
at hudson.model.Run.execute(Run.java:1676)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)
Caused by: hudson.plugins.git.GitException: Command git fetch --tags 
--progress https://u...@github.com/account/repo/ 
+refs/heads/*:refs/remotes/origin/* returned status code 128:
stdout: 
stderr: remote: Invalid username or password.
fatal: Authentication failed for 'https://u...@github.com/account/repo/'

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1276)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1146)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:87)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:254)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:621)
... 10 more

-- 
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:GitHub access using access token and Basic Authentication no longer working

2014-04-11 Thread Kevin Fleming (BLOOMBERG/ 731 LEXIN)
You have probably updated to a version of the Git client plugin that uses the 
Credentials plugin for storage of credentials, and doesn't support URLs with 
embedded credentials. At least, that seems likely based on what you are 
reporting. It's certainly not a Jenkins core issue.

- Original Message -
From: jenkinsci-users@googlegroups.com
To: jenkinsci-users@googlegroups.com
At: Apr 11 2014 14:16:37


Hi,

I have been using a GitHub personal access token and basic authentication to 
pull from private GitHub repos from Jenkins. I use the GitHub Plugin, and then 
for each project, the GitHub Project and Git Repository URL settings are the 
same, with a format of: 
https://user:access_token@github.com/account/repo/.

This has been working fine for months, until this past Wednesday. Now whenever 
I build I get an 'Invalid username or password' error (see below).

I recreated the GitHub access token, which didn't fix the problem. I'm think 
the issue is on the Jenkins side, since I can use the same URL on the 
command-line to clone the repo, and it works fine.

I upgraded Jenkins to 1.558, but then reverted back to 1.555, thinking the 
upgrade could have caused the problem. I'm still stuck without being able to 
pull from GitHub though.

Started by user anonymous
Building on master in workspace c:\build\ProjectA
Fetching changes from the remote Git repository
Fetching upstream changes from https://u...@github.com/account/repo/
FATAL: Failed to fetch from https://u...@github.com/account/repo/
hudson.plugins.git.GitException: Failed to fetch from 
https://u...@github.com/account/repo/
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:623)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:855)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:880)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1414)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:671)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:580)
at hudson.model.Run.execute(Run.java:1676)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)
Caused by: hudson.plugins.git.GitException: Command git fetch --tags 
--progress https://u...@github.com/account/repo/ 
+refs/heads/*:refs/remotes/origin/* returned status code 128:
stdout: 
stderr: remote: Invalid username or password.
fatal: Authentication failed for 'https://u...@github.com/account/repo/'

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1276)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1146)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:87)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:254)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:621)
... 10 more

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


Upstream parameter overwriting the job parameter

2014-04-11 Thread Maneesh M P
We have pipeline jobs configured, from my first job i am kicking of 
parameterized job with a property file.   I need all the parameters in 
downstream jobs except for one.
So I have a choice parameter in the downstream job and I put value there 
thinking that would override the upstream job value. But it looks upstream 
parameter values always gets the precedence.

Is there a way I can configure job parameter to take precedence ?

Thanks,
M

-- 
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: GitHub access using access token and Basic Authentication no longer working

2014-04-11 Thread Mark Waite
Kevin is correct.  I duplicated the bug you're describing.  A GitHub URL of
the form
https://username:passw...@github.com/github_username/github_repository does
not clone with the current version of the git client plugin (1.8.0) and the
current version of the git plugin (2.2.0).

If I take that same username and password and place them in a credential
inside Jenkins, then reference that credential from the job definition, it
works.

Your workaround is to create a credential which includes that user name and
password, then reference that credential from the Jenkins job definition.

I think what you've found is a bug in the git plugin, since I think it
should continue to support repository URL's which it supported before.
 However, since there is a work around, and since the work around has the
benefit that it hides your user name and access token so they are no longer
visible in the console log, I don't expect that bug will be fixed very soon.

You could submit a bug report to https://issues.jenkins-ci.org/ so that the
problem can be tracked.

Mark Waite


On Fri, Apr 11, 2014 at 12:28 PM, Kevin Fleming (BLOOMBERG/ 731 LEXIN) 
kpflem...@bloomberg.net wrote:

 You have probably updated to a version of the Git client plugin that uses
 the Credentials plugin for storage of credentials, and doesn't support URLs
 with embedded credentials. At least, that seems likely based on what you
 are reporting. It's certainly not a Jenkins core issue.


 - Original Message -
 From: jenkinsci-users@googlegroups.com
 To: jenkinsci-users@googlegroups.com
 At: Apr 11 2014 14:16:37


 Hi,

 I have been using a GitHub personal access token and basic authentication
 to pull from private GitHub repos from Jenkins. I use the GitHub Plugin,
 and then for each project, the GitHub Project and Git Repository URL
 settings are the same, with a format of: https://user:access_token@
 github.com/account/repo/.

 This has been working fine for months, until this past Wednesday. Now
 whenever I build I get an 'Invalid username or password' error (see below).

 I recreated the GitHub access token, which didn't fix the problem. I'm
 think the issue is on the Jenkins side, since I can use the same URL on the
 command-line to clone the repo, and it works fine.

 I upgraded Jenkins to 1.558, but then reverted back to 1.555, thinking the
 upgrade could have caused the problem. I'm still stuck without being able
 to pull from GitHub though.

 Started by user anonymous
 Building on master in workspace c:\build\ProjectA
 Fetching changes from the remote Git repository
 Fetching upstream changes from https://u...@github.com/account/repo/
 FATAL: Failed to fetch from https://u...@github.com/account/repo/
 hudson.plugins.git.GitException: Failed to fetch from
 https://u...@github.com/account/repo/
 at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:623)
 at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:855)
 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:880)
 at hudson.model.AbstractProject.checkout(AbstractProject.java:1414)
 at
 hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:671)
 at
 jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
 at
 hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:580)
 at hudson.model.Run.execute(Run.java:1676)
 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
 at hudson.model.ResourceController.execute(ResourceController.java:88)
 at hudson.model.Executor.run(Executor.java:231)
 Caused by: hudson.plugins.git.GitException: Command git fetch --tags
 --progress 
 https://u...@github.com/account/repo/+refs/heads/*:refs/remotes/origin/*; 
 returned status code 128:
 stdout:
 stderr: remote: Invalid username or password.
 fatal: Authentication failed for 'https://u...@github.com/account/repo/'

 at
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1276)
 at
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1146)
 at
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:87)
 at
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:254)
 at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:621)
 ... 10 more

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

Re: GitHub access using access token and Basic Authentication no longer working

2014-04-11 Thread Kevin Fleming (BLOOMBERG/ 731 LEXIN)
Another alternative would be for the plugin to automagically upgrade such URLs 
and create suitable Credentials for them, so that the user gains the benefits 
of the new method without their system getting broken.

- Original Message -
From: jenkinsci-users@googlegroups.com
To: jenkinsci-users@googlegroups.com
At: Apr 11 2014 14:43:42

Kevin is correct.  I duplicated the bug you're describing.  A GitHub URL of the 
form https://username:passw...@github.com/github_username/github_repository 
does not clone with the current version of the git client plugin (1.8.0) and 
the current version of the git plugin (2.2.0).

If I take that same username and password and place them in a credential inside 
Jenkins, then reference that credential from the job definition, it works.

Your workaround is to create a credential which includes that user name and 
password, then reference that credential from the Jenkins job definition.

I think what you've found is a bug in the git plugin, since I think it should 
continue to support repository URL's which it supported before.  However, since 
there is a work around, and since the work around has the benefit that it hides 
your user name and access token so they are no longer visible in the console 
log, I don't expect that bug will be fixed very soon.

You could submit a bug report to https://issues.jenkins-ci.org/ so that the 
problem can be tracked.

Mark Waite


On Fri, Apr 11, 2014 at 12:28 PM, Kevin Fleming (BLOOMBERG/ 731 LEXIN) 
kpflem...@bloomberg.net wrote:

You have probably updated to a version of the Git client plugin that uses the 
Credentials plugin for storage of credentials, and doesn't support URLs with 
embedded credentials. At least, that seems likely based on what you are 
reporting. It's certainly not a Jenkins core issue.


- Original Message -
From: jenkinsci-users@googlegroups.com
To: jenkinsci-users@googlegroups.com
At: Apr 11 2014 14:16:37


Hi,

I have been using a GitHub personal access token and basic authentication to 
pull from private GitHub repos from Jenkins. I use the GitHub Plugin, and then 
for each project, the GitHub Project and Git Repository URL settings are the 
same, with a format of: 
https://user:access_token@github.com/account/repo/.

This has been working fine for months, until this past Wednesday. Now whenever 
I build I get an 'Invalid username or password' error (see below).

I recreated the GitHub access token, which didn't fix the problem. I'm think 
the issue is on the Jenkins side, since I can use the same URL on the 
command-line to clone the repo, and it works fine.

I upgraded Jenkins to 1.558, but then reverted back to 1.555, thinking the 
upgrade could have caused the problem. I'm still stuck without being able to 
pull from GitHub though.

Started by user anonymous
Building on master in workspace c:\build\ProjectA
Fetching changes from the remote Git repository
Fetching upstream changes from https://u...@github.com/account/repo/
FATAL: Failed to fetch from https://u...@github.com/account/repo/
hudson.plugins.git.GitException: Failed to fetch from 
https://u...@github.com/account/repo/
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:623)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:855)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:880)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1414)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:671)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:580)
at hudson.model.Run.execute(Run.java:1676)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)
Caused by: hudson.plugins.git.GitException: Command git fetch --tags 
--progress https://u...@github.com/account/repo/ 
+refs/heads/*:refs/remotes/origin/* returned status code 128:
stdout: 
stderr: remote: Invalid username or password.
fatal: Authentication failed for 'https://u...@github.com/account/repo/'

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1276)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1146)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:87)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:254)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:621)
... 10 more

-- 
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: upload ssl keys jenkins

2014-04-11 Thread JonathanRRogers


On Friday, April 11, 2014 8:03:37 AM UTC-4, parakrama55 wrote:

 Hi guys


 i have valid certificate *jenkin.key* and *jenkin.crt*   can you guys 
 tell me how can i upload ssl keys to jenkins keystore

  
Read the Using HTTPS with an existing certificate section at the bottom 
of this page:
URL:https://wiki.jenkins-ci.org/display/JENKINS/Starting+and+Accessing+Jenkins

-- 
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: GitHub access using access token and Basic Authentication no longer working

2014-04-11 Thread Chris Jansen

Thanks Mark! Worked like a charm.

Kevin, I agree it would have been helfpul if the plugin upgraded the URLs 
for you. Another nice-to-have would be for the plugin to lok for a basic 
auth formatted URL on pull failure and generate a more informative error 
message.


On Friday, April 11, 2014 12:54:06 PM UTC-6, Kevin Fleming wrote:

 Another alternative would be for the plugin to automagically upgrade such 
 URLs and create suitable Credentials for them, so that the user gains the 
 benefits of the new method without their system getting broken.

 - Original Message -
 From: jenkins...@googlegroups.com javascript:
 To: jenkins...@googlegroups.com javascript:
 At: Apr 11 2014 14:43:42

 Kevin is correct.  I duplicated the bug you're describing.  A GitHub URL 
 of the form 
 https://username:passw...@github.com/github_username/github_repositorydoes 
 not clone with the current version of the git client plugin (1.8.0) 
 and the current version of the git plugin (2.2.0).

 If I take that same username and password and place them in a credential 
 inside Jenkins, then reference that credential from the job definition, it 
 works.

 Your workaround is to create a credential which includes that user name 
 and password, then reference that credential from the Jenkins job 
 definition.

 I think what you've found is a bug in the git plugin, since I think it 
 should continue to support repository URL's which it supported before. 
  However, since there is a work around, and since the work around has the 
 benefit that it hides your user name and access token so they are no longer 
 visible in the console log, I don't expect that bug will be fixed very soon.

 You could submit a bug report to https://issues.jenkins-ci.org/ so that 
 the problem can be tracked.

 Mark Waite


 On Fri, Apr 11, 2014 at 12:28 PM, Kevin Fleming (BLOOMBERG/ 731 LEXIN) 
 kpfl...@bloomberg.net javascript: wrote:

 You have probably updated to a version of the Git client plugin that uses 
 the Credentials plugin for storage of credentials, and doesn't support URLs 
 with embedded credentials. At least, that seems likely based on what you 
 are reporting. It's certainly not a Jenkins core issue.


 - Original Message -
 From: jenkins...@googlegroups.com javascript:
 To: jenkins...@googlegroups.com javascript:
 At: Apr 11 2014 14:16:37


 Hi,

 I have been using a GitHub personal access token and basic authentication 
 to pull from private GitHub repos from Jenkins. I use the GitHub Plugin, 
 and then for each project, the GitHub Project and Git Repository URL 
 settings are the same, with a format of: https://user:access_token@
 github.com/account/repo/.

 This has been working fine for months, until this past Wednesday. Now 
 whenever I build I get an 'Invalid username or password' error (see below).

 I recreated the GitHub access token, which didn't fix the problem. I'm 
 think the issue is on the Jenkins side, since I can use the same URL on the 
 command-line to clone the repo, and it works fine.

 I upgraded Jenkins to 1.558, but then reverted back to 1.555, thinking 
 the upgrade could have caused the problem. I'm still stuck without being 
 able to pull from GitHub though.

 Started by user anonymous
 Building on master in workspace c:\build\ProjectA
 Fetching changes from the remote Git repository
 Fetching upstream changes from https://u...@github.com/account/repo/
 FATAL: Failed to fetch from https://u...@github.com/account/repo/
 hudson.plugins.git.GitException: Failed to fetch from 
 https://u...@github.com/account/repo/
 at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:623)
 at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:855)
 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:880)
 at hudson.model.AbstractProject.checkout(AbstractProject.java:1414)
 at 
 hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:671)
 at 
 jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
 at 
 hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:580)
 at hudson.model.Run.execute(Run.java:1676)
 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
 at hudson.model.ResourceController.execute(ResourceController.java:88)
 at hudson.model.Executor.run(Executor.java:231)
 Caused by: hudson.plugins.git.GitException: Command git fetch --tags 
 --progress 
 https://u...@github.com/account/repo/+refs/heads/*:refs/remotes/origin/*; 
 returned status code 128:
 stdout: 
 stderr: remote: Invalid username or password.
 fatal: Authentication failed for 'https://u...@github.com/account/repo/'

 at 
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1276)
 at 
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1146)
 at 
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:87)
 at 
 

Re: Parallel builds with Build Flow

2014-04-11 Thread jhoomsharabi
Hi,
Any progress on this parallel build process, I was also looking for same 
configuration of running parallel same job with different parameters on 
different slaves,  but could not find any possible solution or plugin.
May be need to write new plugin to satisfy this requirement.


Thanks,
Jhoom



-Original Message-
From: hi h...@renatorodrigues.me
To: jenkinsci-users jenkinsci-users@googlegroups.com
Sent: Thu, Mar 27, 2014 9:41 pm
Subject: Re: Parallel builds with Build Flow



Just correcting a typo with job names.

parallel (
{ build(job1, id:1, type:foo) },
{ build(job1, id:2, type:bar) }

)


On Thursday, March 27, 2014 4:07:33 PM UTC, h...@renatorodrigues.me wrote:
rginga, I'm aware of that possibility but in my case I'm paralleling the same 
job, just with different parameters:


parallel (
// job 1, 2 and 3 will be scheduled in parallel.
{ build(job1, id:1, type:foo) },
{ build(job2, id:2, type:bar) }
)
// job4 will be triggered after jobs 1, 2 and 3 complete
build(job4)

Marc MacIntyre, I will try that. Thank you very much.


On Thursday, March 27, 2014 4:01:59 PM UTC, Marc MacIntyre wrote:

Use the node label parameter plugin and pass the node name as a param to the 
build. Build flow accepts parameters as maps, check the docs. 

Sent from my iPhone

On Mar 27, 2014, at 8:53 AM, Ginga, Dick dick@perkinelmer.com wrote:




I think you can only do that in each job definition, that is in the 
specification for Job1, 2, and 3. I don’t think you can pass anything to the 
build method to do that.
 
From: jenkins...@googlegroups.com [mailto:jenk...@googlegroups.com]On Behalf Of 
h...@renatorodrigues.me
Sent: Thursday, March 27, 2014 11:36 AM
To: jenkins...@googlegroups.com
Subject: Parallel builds with Build Flow
 

Build Flow plugin allows one to have parallel builds in a simple way:
parallel (
// job 1, 2 and 3 will be scheduled in parallel.
{ build(job1) },
{ build(job2) },
{ build(job3) }
)
// job4 will be triggered after jobs 1, 2 and 3 complete
build(job4)

Is it possible to delegate a specific node for each job on the parallel 
environment?
 

-- 
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 
tojenkinsci-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-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: Parallel builds with Build Flow

2014-04-11 Thread jhoomsharabi
I don't know where and how to use this fix 
https://issues.jenkins-ci.org/browse/JENKINS-2181




-Original Message-
From: jhoomsharabi jhoomshar...@netscape.net
To: jenkinsci-users jenkinsci-users@googlegroups.com
Sent: Sat, Apr 12, 2014 10:08 am
Subject: Re: Parallel builds with Build Flow


Hi,
Any progress on this parallel build process, I was also looking for same 
configuration of running parallel same job with different parameters on 
different slaves,  but could not find any possible solution or plugin.
May be need to write new plugin to satisfy this requirement.


Thanks,
Jhoom



-Original Message-
From: hi h...@renatorodrigues.me
To: jenkinsci-users jenkinsci-users@googlegroups.com
Sent: Thu, Mar 27, 2014 9:41 pm
Subject: Re: Parallel builds with Build Flow



Just correcting a typo with job names.



parallel (
{ build(job1, id:1, type:foo) },
{ build(job1, id:2, type:bar) }

)



On Thursday, March 27, 2014 4:07:33 PM UTC, h...@renatorodrigues.me wrote:
rginga, I'm aware of that possibility but in my case I'm paralleling the same 
job, just with different parameters:


parallel (
// job 1, 2 and 3 will be scheduled in parallel.
{ build(job1, id:1, type:foo) },
{ build(job2, id:2, type:bar) }
)
// job4 will be triggered after jobs 1, 2 and 3 complete
build(job4)



Marc MacIntyre, I will try that. Thank you very much.



On Thursday, March 27, 2014 4:01:59 PM UTC, Marc MacIntyre wrote:

Use the node label parameter plugin and pass the node name as a param to the 
build. Build flow accepts parameters as maps, check the docs. 

Sent from my iPhone

On Mar 27, 2014, at 8:53 AM, Ginga, Dick dick@perkinelmer.com wrote:




I think you can only do that in each job definition, that is in the 
specification for Job1, 2, and 3. I don’t think you can pass anything to the 
build method to do that.
 
From: jenkins...@googlegroups.com [mailto:jenk...@googlegroups.com]On Behalf Of 
h...@renatorodrigues.me
Sent: Thursday, March 27, 2014 11:36 AM
To: jenkins...@googlegroups.com
Subject: Parallel builds with Build Flow
 

Build Flow plugin allows one to have parallel builds in a simple way:
parallel (
// job 1, 2 and 3 will be scheduled in parallel.
{ build(job1) },
{ build(job2) },
{ build(job3) }
)
// job4 will be triggered after jobs 1, 2 and 3 complete
build(job4)



Is it possible to delegate a specific node for each job on the parallel 
environment?
 

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


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