Re: Old jobs just disappearing from UI

2013-05-29 Thread Schalk Cronjé
Config reload did not work, but after a restart all the builds came back 
again. Is there an open JIRA for this?



On Tuesday, 28 May 2013 13:43:11 UTC+1, KT wrote:

 If you restart Jenkins, do the builds reappear?

 --
 *From: *Schalk Cronjé ysb...@gmail.com javascript:
 *To: *jenkins...@googlegroups.com javascript:
 *Sent: *Tuesday, May 28, 2013 5:35:36 AM
 *Subject: *Old jobs just disappearing from UI

 I have one job which takes about 40h to complete. It is a big test setup 
 that simply just needs a lot of time to complete.

 The problem with this job is that the the older jobs just disappears fro 
 the UI. If one looks on the master the builds are all there on disk, 
 complete with symlinks.

 All other jobs on this jenkins cluster seems to be running fine.

 Anything I need to look for or is this a possible bug with long running 
 jobs?

 BTW Discard old builds were set to 90 days, but i have turned this off as 
 well. - It should not really have an effect though, but just done as a 
 precaution.

 -- 
 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/groups/opt_out.
  
  


-- 
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/groups/opt_out.




Maven-release-plugin pushing snapshots instead of releases

2013-05-29 Thread Brett Delle Grazie
Hi,

We've got an odd situation with Jenkins 1.509.1 LTS and latest plugins
including maven2 release.

When triggering a release build, Jenkins is publishing a SNAPSHOT build
instead of the release build configured.

Has anyone come across this before?

Thanks,

Brett
-- 
Best Regards,

Brett Delle Grazie

-- 
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/groups/opt_out.




RE: Maven-release-plugin pushing snapshots instead of releases

2013-05-29 Thread James Nord (jnord)
Hi Brett,

There are several ways that Jenkins publishes things (post deploy, or as part 
of the build).
Can you be more exact about what is happening and what you think is wrong (also 
how are you triggering the release?)

Regards,

/James


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Brett Delle Grazie
Sent: 29 May 2013 12:00
To: jenkinsci-users@googlegroups.com
Subject: Maven-release-plugin pushing snapshots instead of releases

Hi,

We've got an odd situation with Jenkins 1.509.1 LTS and latest plugins 
including maven2 release.

When triggering a release build, Jenkins is publishing a SNAPSHOT build instead 
of the release build configured.

Has anyone come across this before?

Thanks,

Brett
--
Best Regards,

Brett Delle Grazie
--
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/groups/opt_out.


-- 
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/groups/opt_out.




Aw: RE: Maven-release-plugin pushing snapshots instead of releases

2013-05-29 Thread Christoph Kutzinski

Are you using git?

Theres a bug in the maven-release-plugin with localized git output:

http://www.shredzone.de/cilla/page/373/maven-release-plugin-and-git-fix.html



Gesendet:Mittwoch, 29. Mai 2013 um 13:09 Uhr
Von:James Nord (jnord) jn...@cisco.com
An:jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com
Betreff:RE: Maven-release-plugin pushing snapshots instead of releases




Hi Brett,



There are several ways that Jenkins publishes things (post deploy, or as part of the build).

Can you be more exact about what is happening and what you think is wrong (also how are you triggering the release?)



Regards,



/James








From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Brett Delle Grazie
Sent: 29 May 2013 12:00
To: jenkinsci-users@googlegroups.com
Subject: Maven-release-plugin pushing snapshots instead of releases






Hi,






Weve got an odd situation with Jenkins 1.509.1 LTS and latest plugins including maven2 release.







When triggering a release build, Jenkins is publishing a SNAPSHOT build instead of the release build configured.







Has anyone come across this before?






Thanks,







Brett


--
Best Regards,

Brett Delle Grazie



--
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/groups/opt_out.






--
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/groups/opt_out.









-- 
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/groups/opt_out.




Re: End-user debugging Jenkins/Git Plugin

2013-05-29 Thread bl0ck3r
I tried the suggested Loggers and I see nothing in the logs. How do I find 
the right Loggers?

-- 
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/groups/opt_out.




Deleting workspace after build for chroot build

2013-05-29 Thread thomas.lehm...@adtech.com
I'm running sudo for creating the chroot environment
and running the build in one build step. All paths
there are then root:root.

The deletion of the workspace after the build (plugin)
fails because of permissions.

What do I have to do to correct this?

-- 
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/groups/opt_out.




Re: How to set custom Windows Environment Variable in a job - quick question

2013-05-29 Thread k . thieling
I don't think you need a plugin for this.  There should be a checkbox under the 
Build Environment section of the job called Set Environment Variables  
There, I believe  you should be able to do JOB_NAME=$JOB_NAME 

- Original Message -
From: Z W mpc8...@gmail.com 
To: jenkinsci-users@googlegroups.com 
Sent: Tuesday, May 28, 2013 10:33:08 PM 
Subject: How to set custom Windows Environment Variable in a job - quick 
question 


Hi All 


We have a windows job and we like to set environment variable like in linux. 
But we can't find a configuration plugin checkbox to allow us to set a window 
environment variable. 
Eg: 


We like to set a JOB_NAME to a variable for this windows job such that this 
JOB_NAME can be used in a post-action task. Right now, ${JOB_NAME} or 
%JOB_NAME% is not working in the script section of post-action task. 


Thanks again. 
Sincerely 

-- 
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/groups/opt_out . 
  
  

-- 
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/groups/opt_out.




Re: RE: Maven-release-plugin pushing snapshots instead of releases

2013-05-29 Thread Brett Delle Grazie
On 29 May 2013 12:14, Christoph Kutzinski ku...@gmx.de wrote:

  Are you using git?
 There's a bug in the maven-release-plugin with localized git output:

 http://www.shredzone.de/cilla/page/373/maven-release-plugin-and-git-fix.html


That's probably it...
I did try the workaround but it doesn't seem to work for us (we're on
Windoze).



 *Gesendet:* Mittwoch, 29. Mai 2013 um 13:09 Uhr
 *Von:* James Nord (jnord) jn...@cisco.com
 *An:* jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com
 
 *Betreff:* RE: Maven-release-plugin pushing snapshots instead of releases

 Hi Brett,



 There are several ways that Jenkins publishes things (post deploy, or as
 part of the build).

 Can you be more exact about what is happening and what you think is wrong
 (also how are you triggering the release?)

Using the Jenkins maven release build plugin and triggering a release build.
We are using Git so its likely the above is the root cause.
Maven have released maven-release-plugin version 2.4.1 which will reverts
the scm component to version 1.7. hopefully that will correct the issue.
Thanks!



 Regards,



 /James





 *From:* jenkinsci-users@googlegroups.com [mailto:
 jenkinsci-users@googlegroups.com] *On Behalf Of *Brett Delle Grazie
 *Sent:* 29 May 2013 12:00
 *To:* jenkinsci-users@googlegroups.com
 *Subject:* Maven-release-plugin pushing snapshots instead of releases



 Hi,



 We've got an odd situation with Jenkins 1.509.1 LTS and latest plugins
 including maven2 release.



 When triggering a release build, Jenkins is publishing a SNAPSHOT build
 instead of the release build configured.



 Has anyone come across this before?



 Thanks,



 Brett

 --
 Best Regards,

 Brett Delle Grazie

 --
 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/groups/opt_out.




 --
 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/groups/opt_out.



 --
 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/groups/opt_out.






-- 
Best Regards,

Brett Delle Grazie

-- 
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/groups/opt_out.




Re:Deleting workspace after build for chroot build

2013-05-29 Thread Kevin Fleming (BLOOMBERG/ 731 LEXIN)
You'll need to change your build process to clean out the root-owned content 
from the workspace before it exits.

- Original Message -
From: jenkinsci-users@googlegroups.com
To: jenkinsci-users@googlegroups.com
At: May 29 2013 08:14:32

I'm running sudo for creating the chroot environment
and running the build in one build step. All paths
there are then root:root.

The deletion of the workspace after the build (plugin)
fails because of permissions.

What do I have to do to correct this?
 -- 
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/groups/opt_out.
 
 

-- 
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/groups/opt_out.




RE: Jabber Plugin Issue

2013-05-29 Thread William Soula
Do you have the jenkins url correct in the global config of jenkins?
Does your user that jabber is using to login to jenkins with have the correct 
permissions?

The commands all work for us and the links are correct.

Will


From: jenkinsci-users@googlegroups.com [jenkinsci-users@googlegroups.com] on 
behalf of spacegoose [spacego...@gmail.com]
Sent: Tuesday, May 28, 2013 4:59 PM
To: jenkinsci-users@googlegroups.com
Subject: Jabber Plugin Issue


How do I customize the IM sent by the Jabber IM plugin?

I'm using Jenkins 1.514 and 1.25 plugins.

I notice: see class BuildToChatNotifier ... how can I change this, where is 
it?

I would like to be able to use Jenkins environment variables similar to the 
email plugin, e.g. https://jenkins/job/$PROJECT_NAME/$BUILD_NUMBER/

Since our Jenkins is https via Apache, the default :8080 that is used in the IM 
is a dead link.

An option to configure the IM message, similar to the e-mail plugin, on a 
global or per job basis would be great.

Likewise, it would be nice to configure the Yawn, I'm so bored and or other 
messages / taglines that may be used.

Additionally, for whatever reason, !status job doesn't work - gives unknown 
job - I also tried !status -v job and !status job -v and got either the 
same unknown job or java exception.

The other commands also are not working, are there some permissions I need to 
give?

Thanks for your help!

Bill

--
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/groups/opt_out.


-- 
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/groups/opt_out.




Re: RE: Maven-release-plugin pushing snapshots instead of releases

2013-05-29 Thread Brett Delle Grazie
On 29 May 2013 14:29, Brett Delle Grazie brett.dellegra...@gmail.comwrote:

 On 29 May 2013 12:14, Christoph Kutzinski ku...@gmx.de wrote:

  Are you using git?
 There's a bug in the maven-release-plugin with localized git output:

 http://www.shredzone.de/cilla/page/373/maven-release-plugin-and-git-fix.html


 That's probably it...
 I did try the workaround but it doesn't seem to work for us (we're on
 Windoze).



 *Gesendet:* Mittwoch, 29. Mai 2013 um 13:09 Uhr
 *Von:* James Nord (jnord) jn...@cisco.com
 *An:* jenkinsci-users@googlegroups.com 
 jenkinsci-users@googlegroups.com
 *Betreff:* RE: Maven-release-plugin pushing snapshots instead of releases

 Hi Brett,



 There are several ways that Jenkins publishes things (post deploy, or as
 part of the build).

 Can you be more exact about what is happening and what you think is wrong
 (also how are you triggering the release?)

 Using the Jenkins maven release build plugin and triggering a release
 build.
 We are using Git so its likely the above is the root cause.
 Maven have released maven-release-plugin version 2.4.1 which will reverts
 the scm component to version 1.7. hopefully that will correct the issue.
 Thanks!


maven-release-plugin version 2.4.1 works perfectly so that was definitely
the problem.
Thank you for your help.




 Regards,



 /James





 *From:* jenkinsci-users@googlegroups.com [mailto:
 jenkinsci-users@googlegroups.com] *On Behalf Of *Brett Delle Grazie
 *Sent:* 29 May 2013 12:00
 *To:* jenkinsci-users@googlegroups.com
 *Subject:* Maven-release-plugin pushing snapshots instead of releases



 Hi,



 We've got an odd situation with Jenkins 1.509.1 LTS and latest plugins
 including maven2 release.



 When triggering a release build, Jenkins is publishing a SNAPSHOT build
 instead of the release build configured.



 Has anyone come across this before?



 Thanks,



 Brett

 --
 Best Regards,

 Brett Delle Grazie

 --
 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/groups/opt_out.





-- 
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/groups/opt_out.




Re: Deleting workspace after build for chroot build

2013-05-29 Thread thomas.lehm...@adtech.com

Fine, what action do you have in mind to reach this: clean out the 
root-owned content

On Wednesday, May 29, 2013 3:35:03 PM UTC+2, Kevin Fleming wrote:

 You'll need to change your build process to clean out the root-owned 
 content from the workspace before it exits.

 - Original Message -
 From: jenkins...@googlegroups.com javascript:
 To: jenkins...@googlegroups.com javascript:
 At: May 29 2013 08:14:32

 I'm running sudo for creating the chroot environment
 and running the build in one build step. All paths
 there are then root:root.

 The deletion of the workspace after the build (plugin)
 fails because of permissions.

 What do I have to do to correct this?

 -- 
 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/groups/opt_out.
  
  



-- 
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/groups/opt_out.




Re: Deleting workspace after build for chroot build

2013-05-29 Thread Kevin Fleming (BLOOMBERG/ 731 LEXIN)
What does your job consist of today? A shell script? A Maven project? Something 
else?

If it's a shell script, then it should be straightforward to add some steps in 
that script to do the cleanup before it exits.

- Original Message -
From: jenkinsci-users@googlegroups.com
To: jenkinsci-users@googlegroups.com
Cc: Kevin Fleming (BLOOMBERG/ 731 LEXIN)
At: May 29 2013 11:16:26


Fine, what action do you have in mind to reach this: clean out the root-owned 
content

On Wednesday, May 29, 2013 3:35:03 PM UTC+2, Kevin Fleming wrote:
You'll need to change your build process to clean out the root-owned content 
from the workspace before it exits.

- Original Message -
From: jenkins...@googlegroups.com
To: jenkins...@googlegroups.com
At: May 29 2013 08:14:32

I'm running sudo for creating the chroot environment
and running the build in one build step. All paths
there are then root:root.

The deletion of the workspace after the build (plugin)
fails because of permissions.

What do I have to do to correct this?
 -- 
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/groups/opt_out.
 
 


-- 
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/groups/opt_out.
 
 

-- 
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/groups/opt_out.




cvs - invalid private key

2013-05-29 Thread Stijn
Hi,

I try to use cvs with jenkins in Debian, but I'm unable to access the cvs 
server.

Build error message:

Started by user anonymous http://localhost:8080/user/null
Building in workspace /var/lib/jenkins/jobs/pr_7611/workspace
cvs checkout -P -D 29 May 2013 18:11:37 +0200 -d workspace vcs/c/arm-elf-gcc 
ERROR: CVS Authentication failed: 
nullorg.netbeans.lib.cvsclient.connection.AuthenticationException 
http://stacktrace.jenkins-ci.org/search?query=org.netbeans.lib.cvsclient.connection.AuthenticationException:
 SSH connection failed.
at 
org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:141)
 
http://stacktrace.jenkins-ci.org/search/?query=org.netbeans.lib.cvsclient.connection.SSHConnection.openentity=method
at org.netbeans.lib.cvsclient.Client$1.run(Client.java:374) 
http://stacktrace.jenkins-ci.org/search/?query=org.netbeans.lib.cvsclient.Client$1.runentity=method
at java.lang.Thread.run(Thread.java:679) 
http://stacktrace.jenkins-ci.org/search/?query=java.lang.Thread.runentity=method
Caused by: com.jcraft.jsch.JSchException 
http://stacktrace.jenkins-ci.org/search?query=com.jcraft.jsch.JSchException: 
invalid privatekey: /home/jenkins/.ssh/identity
at com.jcraft.jsch.IdentityFile.init(IdentityFile.java:302) 
http://stacktrace.jenkins-ci.org/search/?query=com.jcraft.jsch.IdentityFile.%3Cinit%3Eentity=method
at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:135) 
http://stacktrace.jenkins-ci.org/search/?query=com.jcraft.jsch.IdentityFile.newInstanceentity=method
at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:130) 
http://stacktrace.jenkins-ci.org/search/?query=com.jcraft.jsch.IdentityFile.newInstanceentity=method
at com.jcraft.jsch.JSch.addIdentity(JSch.java:224) 
http://stacktrace.jenkins-ci.org/search/?query=com.jcraft.jsch.JSch.addIdentityentity=method
at com.jcraft.jsch.JSch.addIdentity(JSch.java:218) 
http://stacktrace.jenkins-ci.org/search/?query=com.jcraft.jsch.JSch.addIdentityentity=method
at 
org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:135)
 
http://stacktrace.jenkins-ci.org/search/?query=org.netbeans.lib.cvsclient.connection.SSHConnection.openentity=method
... 2 more
ERROR: Cvs task failedFinished 
http://stacktrace.jenkins-ci.org/search?query=Finished: FAILURE



However, if I do following on a command line, it works (as user jenkins):

*jenkins@p-hplj1320:/tmp$* cvs -d SDR@lx-cvs:/CVS/dev checkout -P -N -D '29 
May 2013 11:38:14 +0200' vcs/c/arm-elf-gcc
cvs server: Updating vcs/c/arm-elf-gcc
cvs server: Updating vcs/c/arm-elf-gcc/arm-elf
cvs server: Updating vcs/c/arm-elf-gcc/arm-elf/bin
U vcs/c/arm-elf-gcc/arm-elf/bin/ar
U vcs/c/arm-elf-gcc/arm-elf/bin/as
U vcs/c/arm-elf-gcc/arm-elf/bin/c++
U vcs/c/arm-elf-gcc/arm-elf/bin/g++
U vcs/c/arm-elf-gcc/arm-elf/bin/gcc
U vcs/c/arm-elf-gcc/arm-elf/bin/ld
^Ccvs [checkout aborted]: received interrupt signal
cvs [checkout aborted]: received interrupt signal


Why is Jenkins complaining my private key is invalid, while with the 
command line it works?

Kind regards and thanks in advance!
Stijn.

-- 
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/groups/opt_out.




Re: cvs - invalid private key

2013-05-29 Thread David Weintraub
Here is the command you used:

cvs -d SDR@lx-cvs:/CVS/dev checkout -P -N -D '29 May 2013 11:38:14 
+0200' vcs/c/arm-elf-gcc

Here is the command Jenkins used:

cvs checkout -P -D '29 May 2013 18:11:37 +0200' -d workspace 
vcs/c/arm-elf-gcc 

You specified a `-d` parameter to the cvs command itself. That overrides the 
$CVSROOT environment variable.  This makes a big difference in how that CVS 
command will work.

Try the command line again, and go into the working directory and run the 
command just like Jenkins did. See if you get the same error. If you do, you 
might need to reset Jenkins CVSROOT to reflect what you set '-d' to: 
SDR@lx-cvs:/CVS/dev

--
David Weintraub
qazw...@gmail.com


Sure, call me crazy. They called Eddie Antar crazy too, but
look at these low, low prices on these name brand appliances.

On May 29, 2013, at 12:33 PM, Stijn stijn.deroovanma...@gmail.com wrote:

 Hi,
 
 I try to use cvs with jenkins in Debian, but I'm unable to access the cvs 
 server.
 
 Build error message:
 
 Started by user anonymous
 Building in workspace /var/lib/jenkins/jobs/pr_7611/workspace
 cvs checkout -P -D 29 May 2013 18:11:37 +0200 -d workspace vcs/c/arm-elf-gcc 
 ERROR: CVS Authentication failed: null
 org.netbeans.lib.cvsclient.connection.AuthenticationException: SSH connection 
 failed.
   at 
 org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:141)
   at org.netbeans.lib.cvsclient.Client$1.run(Client.java:374)
   at java.lang.Thread.run(Thread.java:679)
 Caused by: com.jcraft.jsch.JSchException: invalid privatekey: 
 /home/jenkins/.ssh/identity
   at com.jcraft.jsch.IdentityFile.init(IdentityFile.java:302)
   at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:135)
   at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:130)
   at com.jcraft.jsch.JSch.addIdentity(JSch.java:224)
   at com.jcraft.jsch.JSch.addIdentity(JSch.java:218)
   at 
 org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:135)
   ... 2 more
 ERROR: Cvs task failed
 Finished: FAILURE
 
 
 However, if I do following on a command line, it works (as user jenkins):
 
 jenkins@p-hplj1320:/tmp$ cvs -d SDR@lx-cvs:/CVS/dev checkout -P -N -D '29 May 
 2013 11:38:14 +0200' vcs/c/arm-elf-gcc
 cvs server: Updating vcs/c/arm-elf-gcc
 cvs server: Updating vcs/c/arm-elf-gcc/arm-elf
 cvs server: Updating vcs/c/arm-elf-gcc/arm-elf/bin
 U vcs/c/arm-elf-gcc/arm-elf/bin/ar
 U vcs/c/arm-elf-gcc/arm-elf/bin/as
 U vcs/c/arm-elf-gcc/arm-elf/bin/c++
 U vcs/c/arm-elf-gcc/arm-elf/bin/g++
 U vcs/c/arm-elf-gcc/arm-elf/bin/gcc
 U vcs/c/arm-elf-gcc/arm-elf/bin/ld
 ^Ccvs [checkout aborted]: received interrupt signal
 cvs [checkout aborted]: received interrupt signal
 
 
 Why is Jenkins complaining my private key is invalid, while with the command 
 line it works?
 
 Kind regards and thanks in advance!
 Stijn.
 
 -- 
 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/groups/opt_out.
  
  

-- 
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/groups/opt_out.




[no subject]

2013-05-29 Thread Luis Specian
Hi,

I´m running a Jenkins 1.509.1 (LTS) and a hudson 3.0.1 in the same linux
box, jenkins is trying to read hudson config in /home/user/.hudson

Is there any way to make jenkins use the .jenkins directory?

Thanks

Luis

-- 
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/groups/opt_out.




Re:

2013-05-29 Thread oliver gondža

Hi, how about JENKINS_HOME[1] variable?

[1]  
https://wiki.jenkins-ci.org/display/JENKINS/Administering+Jenkins#AdministeringJenkins-JENKINSHOMEdirectory


--
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/groups/opt_out.




Build flow plugin: attempt at modular approach

2013-05-29 Thread Tom Deblauwe
Hello,

I want to create a modularized system for my jobs in order for them to be 
maintainable. I looked at all sorts of template plugins and generators, but 
it is either difficult(XML groovy script transformation?) or not really 
reuseable in my opinion. Now I stumbled upon the build flow plugin which 
made it possible! I wanted to share my approach because I could not find 
much about it on the net. Also I was hoping the list would give me some 
feedback. The setup is like this:

I have a number of BuildStep- prefixed jobs. I have these:
= BuildStep-Checkout-Source
  - uses git to check out a branch
= BuildStep-Compile
  - runs a shell script
= BuildStep-Test
  - runs a shell script with tests

Now all those buildsteps have in their Advanced setting the Custom 
workspace set to $ParentWorkspace. Also the Allow concurrent builds if 
needed setting is checked.

Then when I want to create a job which uses these jobs. I need to create a 
Build flow job now with the DSL script like this:

build(BuildStep-Checkout-Source, ParentWorkspace:build.workspace, 
GitBranch: my_branch)
build(BuildStep-Compile, ParentWorkspace:build.workspace)
build(BuildStep-Test, ParentWorkspace:build.workspace)

Now the nice thing is that your steps are loosely coupled. And that you can 
use the regular available configuration pages of the buildsteps, without 
the need for difficult scripting or XML.
Also note that if you want something like default parameters for a 
buildstep, that you can specify the parameter in the buildstep explicitly 
and there you can use a default value.

So now I just need to test if something like e-mails to the people who have 
broken the build will work ok :)

Another pitfall: the Buildstep jobs are executed on random executors/nodes. 
So you need another trick until this is fixed in the build flow plugin. You 
need the 
https://wiki.jenkins-ci.org/display/JENKINS/NodeLabel+Parameter+Plugin. 
Specify for each buildstep such a node parameter and name it e.g. Node. 
Then you need to adapt the build() commands like this:

build(BuildStep-Checkout-Source, ParentWorkspace:build.workspace, 
Node:build.environment[NODE_NAME], GitBranch: my_branch)
build(BuildStep-Compile, ParentWorkspace:build.workspace, 
Node:build.environment[NODE_NAME])
build(BuildStep-Test, ParentWorkspace:build.workspace, 
Node:build.environment[NODE_NAME])

So I think this is pretty good already, but what do you guys think?

Thanks,
Best regards,
Tom,

-- 
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/groups/opt_out.




folder plugin - where do I edit and delete folders?

2013-05-29 Thread lfast
I'm just getting started with Enterprise and trying out Folders.  Where do 
I go to edit and delete folders?

-- 
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/groups/opt_out.




Re: Jabber Plugin Issue

2013-05-29 Thread spacegoose

Thanks Will, 

On Wednesday, May 29, 2013 10:29:45 AM UTC-4, William Soula wrote:

  Do you have the jenkins url correct in the global config of jenkins? 


Doh, I updated that, and it seems to be working.
 

 Does your user that jabber is using to login to jenkins with have the 
 correct permissions?


I subsequently added the Jabber user to both the main permissions grid, and 
the project one - gave overall read, and read / build for project. Still 
the bot won't respond properly.

Here's what I type and the response: 

!status CMS-deploy-resolved
user: unknown job CMS-deploy-resolved

!build CMS-deploy-resolved now
user: syntax is: 'build job [now|delay[s|m|h]] 
[parameterkey=value]*'

Any idea on how to customize the IM message, taglines, etc.?

Thanks,
Bill


  The commands all work for us and the links are correct.

  Will

  --
 *From:* jenkins...@googlegroups.com javascript: [
 jenkins...@googlegroups.com javascript:] on behalf of spacegoose [
 space...@gmail.com javascript:]
 *Sent:* Tuesday, May 28, 2013 4:59 PM
 *To:* jenkins...@googlegroups.com javascript:
 *Subject:* Jabber Plugin Issue

   How do I customize the IM sent by the Jabber IM plugin? 

 I'm using Jenkins 1.514 and 1.25 plugins.

 I notice: see class BuildToChatNotifier ... how can I change this, where 
 is it?
  
 I would like to be able to use Jenkins environment variables similar to 
 the email plugin, e.g. https://jenkins/job/$PROJECT_NAME/$BUILD_NUMBER/

 Since our Jenkins is https via Apache, the default :8080 that is used in 
 the IM is a dead link.

 An option to configure the IM message, similar to the e-mail plugin, on a 
 global or per job basis would be great.

 Likewise, it would be nice to configure the Yawn, I'm so bored and or 
 other messages / taglines that may be used.
  
 Additionally, for whatever reason, !status job doesn't work - gives 
 unknown job - I also tried !status -v job and !status job -v and got 
 either the same unknown job or java exception. 
  
 The other commands also are not working, are there some permissions I need 
 to give?
  
 Thanks for your help!

 Bill
  
 -- 
 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/groups/opt_out.
  
  


-- 
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/groups/opt_out.




net.sf.json.JSONException: JSONObject[recipientlist_recipients] not found.

2013-05-29 Thread Kamal Ahmed
While trying to run https://github.com/rombert/Maven-Recipe--RPM-Package in 
jenkins, i got an exception:

Error
Failed to parse form data. Please report this problem as a bug
JSON={name:Maven-Recipe--RPM-Package,description:,:[,0,0,0,0,0,0,0,0],logrotate:true,buildDiscarder:{stapler-class:hudson.tasks.LogRotator,daysToKeepStr:,numToKeepStr:5,artifactDaysToKeepStr:,artifactNumToKeepStr:},properties:{stapler-class-bag:true,com-sonyericsson-jenkins-plugins-bfa-model-ScannerJobProperty:{doNotScan:false},jenkins-plugins-svnmerge-IntegratableProject:{},org-jenkinsci-plugins-mavenrepocleaner-MavenRepoCleanerProperty:{notOnThisProject:false},com-suryagaddipati-jenkins-SlaveUtilizationProperty:{},hudson-model-ParametersDefinitionProperty:{},com-thalesgroup-hudson-plugins-jobrevision-JobRevision:{},hudson-plugins-svn_release_mgr-JobPropertyImpl:{},hudson-plugins-trackingsvn-TrackingSVNProperty:{},jenkins-plugins-svnmerge-FeatureBranchProperty:{},org-jenkinsci-plugins-envinject-EnvInjectJobProperty:{}},hasSlaveAffinity:{assignedLabelString:VM-DEVQA02
},displayNameOrNull:,scm:{value:5,locations:{remote:http://svn.hq.coderyte.corp/coderyte/qa/autofw/Maven-Recipe--RPM-Package,local:.,depthOption:infinity,ignoreExternalsOption:false},:[0,auto],workspaceUpdater:{stapler-class:hudson.scm.subversion.UpdateUpdater},ignoreDirPropChanges:false,excludedRegions:,includedRegions:,excludedUsers:,excludedCommitMessages:,excludedRevprop:,filterChangelog:false},hudson-triggers-SCMTrigger:{scmpoll_spec:H
 */5 * * *,ignorePostCommitHooks:false},builder:{command:mvn clean 
package,stapler-class:hudson.tasks.Shell,kind:hudson.tasks.Shell},publisher:{stapler-class:hudson.plugins.emailext.ExtendedEmailPublisher,kind:hudson.plugins.emailext.ExtendedEmailPublisher},core:apply:,Submit:Save}
 net.sf.json.JSONException: JSONObject[recipientlist_recipients] not found. 
at net.sf.json.JSONObject.getString(JSONObject.java:2028) at
 
hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.newInstance(ExtendedEmailPublisherDescriptor.java:293)
 at 
hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.newInstance(ExtendedEmailPublisherDescriptor.java:31)
 at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:941) at 
hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:926) at 
hudson.util.DescribableList.rebuildHetero(DescribableList.java:203) at 
hudson.model.Project.submit(Project.java:201) at 
hudson.model.Job.doConfigSubmit(Job.java:1076) at 
hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:753) at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:616) at
 org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288) at 
org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151) at 
org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90) at 
org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111) at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) 
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at 
org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at 
org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) 
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at 
org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at 
org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) 
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at
 org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at 
org.kohsuke.stapler.Stapler.invoke(Stapler.java:583) at 
org.kohsuke.stapler.Stapler.service(Stapler.java:214) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at 
winstone.ServletConfiguration.execute(ServletConfiguration.java:248) at 
winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at 
winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at 
net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:206) at 
net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:179) at 
net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86)
 at 
org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84)
 at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98) at
 hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at 
winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at 
winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at 

Re: net.sf.json.JSONException: JSONObject[recipientlist_recipients] not found.

2013-05-29 Thread Slide
What version of Jenkins and email-ext are you using?


On Wed, May 29, 2013 at 12:32 PM, Kamal Ahmed kamalah...@yahoo.comwrote:

 While trying to run https://github.com/rombert/Maven-Recipe--RPM-Packagein 
 jenkins, i got an exception:

 Error

 Failed to parse form data. Please report this problem as a bug
 JSON={name:Maven-Recipe--RPM-Package,description:,:[,0,0,0,0,0,0,0,0],logrotate:true,buildDiscarder:{stapler-class:hudson.tasks.LogRotator,daysToKeepStr:,numToKeepStr:5,artifactDaysToKeepStr:,artifactNumToKeepStr:},properties:{stapler-class-bag:true,com-sonyericsson-jenkins-plugins-bfa-model-ScannerJobProperty:{doNotScan:false},jenkins-plugins-svnmerge-IntegratableProject:{},org-jenkinsci-plugins-mavenrepocleaner-MavenRepoCleanerProperty:{notOnThisProject:false},com-suryagaddipati-jenkins-SlaveUtilizationProperty:{},hudson-model-ParametersDefinitionProperty:{},com-thalesgroup-hudson-plugins-jobrevision-JobRevision:{},hudson-plugins-svn_release_mgr-JobPropertyImpl:{},hudson-plugins-trackingsvn-TrackingSVNProperty:{},jenkins-plugins-svnmerge-FeatureBranchProperty:{},org-jenkinsci-plugins-envinject-EnvInjectJobProperty:{}},hasSlaveAffinity:{assignedLabelString:VM-DEVQA02
 },displayNameOrNull:,scm:{value:5,locations:{remote:http://svn.hq.coderyte.corp/coderyte/qa/autofw/Maven-Recipe--RPM-Package,local:.,depthOption:infinity,ignoreExternalsOption:false},:[0,auto],workspaceUpdater:{stapler-class:hudson.scm.subversion.UpdateUpdater},ignoreDirPropChanges:false,excludedRegions:,includedRegions:,excludedUsers:,excludedCommitMessages:,excludedRevprop:,filterChangelog:false},hudson-triggers-SCMTrigger:{scmpoll_spec:H
  */5 * * *,ignorePostCommitHooks:false},builder:{command:mvn clean 
 package,stapler-class:hudson.tasks.Shell,kind:hudson.tasks.Shell},publisher:{stapler-class:hudson.plugins.emailext.ExtendedEmailPublisher,kind:hudson.plugins.emailext.ExtendedEmailPublisher},core:apply:,Submit:Save}

 net.sf.json.JSONException: JSONObject[recipientlist_recipients] not found.
   at net.sf.json.JSONObject.getString(JSONObject.java:2028)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.newInstance(ExtendedEmailPublisherDescriptor.java:293)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.newInstance(ExtendedEmailPublisherDescriptor.java:31)
   at 
 hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:941)
   at 
 hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:926)
   at hudson.util.DescribableList.rebuildHetero(DescribableList.java:203)
   at hudson.model.Project.submit(Project.java:201)
   at hudson.model.Job.doConfigSubmit(Job.java:1076)
   at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:753)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:616)
   at 
 org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288)
   at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151)
   at 
 org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90)
   at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)
   at 
 org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
   at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677)
   at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770)
   at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)
   at 
 org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
   at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677)
   at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770)
   at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)
   at 
 org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
   at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677)
   at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770)
   at org.kohsuke.stapler.Stapler.invoke(Stapler.java:583)
   at org.kohsuke.stapler.Stapler.service(Stapler.java:214)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
   at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)
   at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
   at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)
   at 
 hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
   at 
 net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:206)
   at 
 net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:179)
   at 
 net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86)
   at 
 

Groovy and Maven artifact version...

2013-05-29 Thread Jeff
Starting a new thread since the last one didn't get any love...

Trying to debug Groovy system script to pull Maven artifact version and get
NullPointerException.  I tried the following to see what properties are
available:

import hudson.model.*;
import hudson.util.*;
def thr = Thread.currentThread();
def currentBuild = thr?.executable;
println currentBuild.properties.collect{it}.join('\n')


And the output below shows that mavenArtifacts and artifacts is null.
 The class type of the object returned from thr?.executable is *
hudson.maven.MavenModuleSetBuild.*

Is that right?  If so, what am I missing to get the maven artifacts?

environment={_=/usr/share/tomcat7/bin/catalina.sh,
BUILD_DISPLAY_NAME=#398, BUILD_ID=2013-05-28_17-22-18,
BUILD_NUMBER=398, BUILD_TAG=jenkins-DnaFulfillment (master)-398,
BUILD_URL=http://10.9.3.9/jenkins/job/DnaFulfillment%20(master)/398/,
CATALINA_BASE=/var/lib/tomcat7, CATALINA_HOME=/usr/share/tomcat7,
CATALINA_PID=/var/run/tomcat7.pid,
CATALINA_TMPDIR=/tmp/tomcat7-tomcat7-tmp, CLASSPATH=,
EXECUTOR_NUMBER=1,
GIT_AUTHOR_EMAIL=dnaqa_svcdna_...@qamail.myfamilyinc.com,
GIT_AUTHOR_NAME=svcDNA_SCM, GIT_BRANCH=master,
GIT_COMMIT=f3e09e39844e10bdf7a9ef20e09b389a57410e9e,
GIT_COMMITTER_EMAIL=dnaqa_svcdna_...@qamail.myfamilyinc.com,
GIT_COMMITTER_NAME=svcDNA_SCM,
GIT_PREVIOUS_COMMIT=f3e09e39844e10bdf7a9ef20e09b389a57410e9e,
GIT_URL=gitol...@git1.myfamily.int:DnaFulfillment.git,
HOME=/home/tomcat7, HUDSON_HOME=/home/tomcat7/.jenkins,
HUDSON_SERVER_COOKIE=7bbb759ac11eeab9,
HUDSON_URL=http://10.9.3.9/jenkins/, IS_M2RELEASEBUILD=false,
JAVA_HOME=/home/tomcat7/.jenkins/tools/hudson.model.JDK/Oracle_JDK_7u15,
JAVA_OPTS=-server -DJENKINS-HOME=/home/tomcat7/.jenkins
-Djava.awt.headless=true -Xms512m -Xmx2048m -XX:PermSize=128m
-XX:MaxPermSize=512m -XX:+UseConcMarkSweepGC
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager,
JENKINS_HOME=/home/tomcat7/.jenkins,
JENKINS_SERVER_COOKIE=7bbb759ac11eeab9,
JENKINS_URL=http://10.9.3.9/jenkins/, JOB_NAME=DnaFulfillment
(master), JOB_URL=http://10.9.3.9/jenkins/job/DnaFulfillment%20(master)/,
JSSE_HOME=/usr/lib/jvm/java-7-oracle/jre/, LANG=en_US.UTF-8,
M2_HOME=/home/tomcat7/.jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.0.4,
MAVEN_HOME=/home/tomcat7/.jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.0.4,
MAVEN_OPTS=-Xmx512m -XX:MaxPermSize=128m,
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, NODE_LABELS=12.10 Linux Ubuntu
Ubuntu-12.10 amd64 amd64-Ubuntu amd64-Ubuntu-12.10 master,
NODE_NAME=master, OLDPWD=/tmp/tomcat7-tomcat7-tmp,
PATH=/home/tomcat7/.jenkins/tools/hudson.model.JDK/Oracle_JDK_7u15/bin:/bin:/usr/bin:/sbin:/usr/sbin,
PATH+JDK=/home/tomcat7/.jenkins/tools/hudson.model.JDK/Oracle_JDK_7u15/bin,
PATH+MAVEN=/home/tomcat7/.jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.0.4/bin,
PWD=/var/lib/tomcat7, SHLVL=1, TERM=linux, TOMCAT7_GROUP=tomcat7,
TOMCAT7_USER=tomcat7,
WORKSPACE=/home/tomcat7/.jenkins/jobs/DnaFulfillment
(master)/workspace, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt}

badgeActions=[hudson.plugins.git.GitTagAction@516fd7b6]

sensitiveBuildVariables=[]

transientActions=[]

id=2013-05-28_17-22-18

hasArtifacts=false

previousBuildInProgress=null

keepLog=false

timestamp=java.util.GregorianCalendar[time=1369783338651,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id=America/Denver,offset=-2520,dstSavings=360,useDaylight=true,transitions=157,lastRule=java.util.SimpleTimeZone[id=America/Denver,offset=-2520,dstSavings=360,useDaylight=true,startYear=0,startMode=3,startMonth=2,startDay=8,startDayOfWeek=1,startTime=720,startTimeMode=0,endMode=3,endMonth=10,endDay=1,endDayOfWeek=1,endTime=720,endTimeMode=0]],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2013,MONTH=4,WEEK_OF_YEAR=22,WEEK_OF_MONTH=5,DAY_OF_MONTH=28,DAY_OF_YEAR=148,DAY_OF_WEEK=3,DAY_OF_WEEK_IN_MONTH=4,AM_PM=1,HOUR=5,HOUR_OF_DAY=17,MINUTE=22,SECOND=18,MILLISECOND=651,ZONE_OFFSET=-2520,DST_OFFSET=360]

number=398

class=class hudson.maven.MavenModuleSetBuild

downstreamBuilds={}

changeSet=hudson.plugins.git.GitChangeSetList@747113bb

buildStatusUrl=red_anime.gif

nextBuild=null

envVars={_=/usr/share/tomcat7/bin/catalina.sh,
BUILD_DISPLAY_NAME=#398, BUILD_ID=2013-05-28_17-22-18,
BUILD_NUMBER=398, BUILD_TAG=jenkins-DnaFulfillment (master)-398,
BUILD_URL=http://10.9.3.9/jenkins/job/DnaFulfillment%20(master)/398/,
CATALINA_BASE=/var/lib/tomcat7, CATALINA_HOME=/usr/share/tomcat7,
CATALINA_PID=/var/run/tomcat7.pid,
CATALINA_TMPDIR=/tmp/tomcat7-tomcat7-tmp, CLASSPATH=,
EXECUTOR_NUMBER=1,
GIT_AUTHOR_EMAIL=dnaqa_svcdna_...@qamail.myfamilyinc.com,
GIT_AUTHOR_NAME=svcDNA_SCM, GIT_BRANCH=master,
GIT_COMMIT=f3e09e39844e10bdf7a9ef20e09b389a57410e9e,
GIT_COMMITTER_EMAIL=dnaqa_svcdna_...@qamail.myfamilyinc.com,
GIT_COMMITTER_NAME=svcDNA_SCM,
GIT_PREVIOUS_COMMIT=f3e09e39844e10bdf7a9ef20e09b389a57410e9e,
GIT_URL=gitol...@git1.myfamily.int:DnaFulfillment.git,
HOME=/home/tomcat7, 

Re: net.sf.json.JSONException: JSONObject[recipientlist_recipients] not found.

2013-05-29 Thread Kamal Ahmed
Jenkins ver. 1.509.1
which is LTS, on Centos 6.4 
Email-ext = 2.29







 From: Slide slide.o@gmail.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Wednesday, May 29, 2013 3:34 PM
Subject: Re: net.sf.json.JSONException: JSONObject[recipientlist_recipients] 
not found.
 


What version of Jenkins and email-ext are you using?



On Wed, May 29, 2013 at 12:32 PM, Kamal Ahmed kamalah...@yahoo.com wrote:

While trying to run https://github.com/rombert/Maven-Recipe--RPM-Package in 
jenkins, i got an exception:


Error
Failed to parse form data. Please report this problem as a bug
JSON={name:Maven-Recipe--RPM-Package,description:,:[,0,0,0,0,0,0,0,0],logrotate:true,buildDiscarder:{stapler-class:hudson.tasks.LogRotator,daysToKeepStr:,numToKeepStr:5,artifactDaysToKeepStr:,artifactNumToKeepStr:},properties:{stapler-class-bag:true,com-sonyericsson-jenkins-plugins-bfa-model-ScannerJobProperty:{doNotScan:false},jenkins-plugins-svnmerge-IntegratableProject:{},org-jenkinsci-plugins-mavenrepocleaner-MavenRepoCleanerProperty:{notOnThisProject:false},com-suryagaddipati-jenkins-SlaveUtilizationProperty:{},hudson-model-ParametersDefinitionProperty:{},com-thalesgroup-hudson-plugins-jobrevision-JobRevision:{},hudson-plugins-svn_release_mgr-JobPropertyImpl:{},hudson-plugins-trackingsvn-TrackingSVNProperty:{},jenkins-plugins-svnmerge-FeatureBranchProperty:{},org-jenkinsci-plugins-envinject-EnvInjectJobProperty:{}},hasSlaveAffinity:{assignedLabelString:VM-DEVQA02
},displayNameOrNull:,scm:{value:5,locations:{remote:http://svn.hq.coderyte.corp/coderyte/qa/autofw/Maven-Recipe--RPM-Package,local:.,depthOption:infinity,ignoreExternalsOption:false},:[0,auto],workspaceUpdater:{stapler-class:hudson.scm.subversion.UpdateUpdater},ignoreDirPropChanges:false,excludedRegions:,includedRegions:,excludedUsers:,excludedCommitMessages:,excludedRevprop:,filterChangelog:false},hudson-triggers-SCMTrigger:{scmpoll_spec:H
 */5 * * *,ignorePostCommitHooks:false},builder:{command:mvn clean 
package,stapler-class:hudson.tasks.Shell,kind:hudson.tasks.Shell},publisher:{stapler-class:hudson.plugins.emailext.ExtendedEmailPublisher,kind:hudson.plugins.emailext.ExtendedEmailPublisher},core:apply:,Submit:Save}
 net.sf.json.JSONException: JSONObject[recipientlist_recipients] not found. 
at net.sf.json.JSONObject.getString(JSONObject.java:2028) at
 
hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.newInstance(ExtendedEmailPublisherDescriptor.java:293)
 at 
hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.newInstance(ExtendedEmailPublisherDescriptor.java:31)
 at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:941) at 
hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:926) at 
hudson.util.DescribableList.rebuildHetero(DescribableList.java:203) at 
hudson.model.Project.submit(Project.java:201) at 
hudson.model.Job.doConfigSubmit(Job.java:1076) at 
hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:753) at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:616) at
 org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288) at 
org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151) at 
org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90) at 
org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111) at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) 
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at 
org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at 
org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) 
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at 
org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at 
org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) 
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at
 org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at 
org.kohsuke.stapler.Stapler.invoke(Stapler.java:583) at 
org.kohsuke.stapler.Stapler.service(Stapler.java:214) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at 
winstone.ServletConfiguration.execute(ServletConfiguration.java:248) at 
winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at 
winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at 
net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:206) at 
net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:179) at 

Re: Jabber Plugin Issue

2013-05-29 Thread William Soula
It's not the jabber user you have to have permissions for it is the user you 
tell jabber to login to Jenkins with.  On the global Jenkins config page there 
is a section for Jabber, this includes the Jabber ID, which is what I'm 
guessing you gave permissoins for.  If you click the advanced button you get a 
textbox to set the Jenkins Username.  Jenkins Username needs to be set to a 
user that has permission in your system.  Hope that is clear.

Will

On 05/29/13 14:32, spacegoose wrote:

Thanks Will,

On Wednesday, May 29, 2013 10:29:45 AM UTC-4, William Soula wrote:
Do you have the jenkins url correct in the global config of jenkins?

Doh, I updated that, and it seems to be working.

Does your user that jabber is using to login to jenkins with have the correct 
permissions?

I subsequently added the Jabber user to both the main permissions grid, and the 
project one - gave overall read, and read / build for project. Still the bot 
won't respond properly.

Here's what I type and the response:

!status CMS-deploy-resolved
user: unknown job CMS-deploy-resolved

!build CMS-deploy-resolved now
user: syntax is: 'build job [now|delay[s|m|h]] [parameterkey=value]*'

Any idea on how to customize the IM message, taglines, etc.?

Thanks,
Bill


The commands all work for us and the links are correct.

Will


From: jenkins...@googlegroups.comjavascript: 
[jenkins...@googlegroups.comjavascript:] on behalf of spacegoose 
[space...@gmail.comjavascript:]
Sent: Tuesday, May 28, 2013 4:59 PM
To: jenkins...@googlegroups.comjavascript:
Subject: Jabber Plugin Issue


How do I customize the IM sent by the Jabber IM plugin?

I'm using Jenkins 1.514 and 1.25 plugins.

I notice: see class BuildToChatNotifier ... how can I change this, where is 
it?

I would like to be able to use Jenkins environment variables similar to the 
email plugin, e.g. https://jenkins/job/$PROJECT_NAME/$BUILD_NUMBER/

Since our Jenkins is https via Apache, the default :8080 that is used in the IM 
is a dead link.

An option to configure the IM message, similar to the e-mail plugin, on a 
global or per job basis would be great.

Likewise, it would be nice to configure the Yawn, I'm so bored and or other 
messages / taglines that may be used.

Additionally, for whatever reason, !status job doesn't work - gives unknown 
job - I also tried !status -v job and !status job -v and got either the 
same unknown job or java exception.

The other commands also are not working, are there some permissions I need to 
give?

Thanks for your help!

Bill

--
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.comjavascript:.
For more options, visit https://groups.google.com/groups/opt_out.



-- 
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/groups/opt_out.




Re: How to set custom Windows Environment Variable in a job - quick question

2013-05-29 Thread zw
Hi KT

Thanks for responding.
Should it be JOB_NAME=%JOB_NAME% in that checkbox?

Apologise for simple question like this.


On Wednesday, May 29, 2013 5:35:16 AM UTC-7, KT wrote:

 I don't think you need a plugin for this.  There should be a checkbox 
 under the Build Environment section of the job called Set Environment 
 Variables  There, I believe you should be able to do JOB_NAME=$JOB_NAME

 --
 *From: *Z W mpc...@gmail.com javascript:
 *To: *jenkins...@googlegroups.com javascript:
 *Sent: *Tuesday, May 28, 2013 10:33:08 PM
 *Subject: *How to set custom Windows Environment Variable in a job - 
 quick question

 Hi All 

 We have a windows job and we like to set environment variable like in 
 linux.
 But we can't find a configuration plugin checkbox to allow us to set a 
 window environment variable.
 Eg:

 We like to set a JOB_NAME to a variable for this windows job such that 
 this JOB_NAME can be used in a post-action task. Right now, ${JOB_NAME} or 
 %JOB_NAME% is not working in the script section of post-action task.

 Thanks again.
 Sincerely

 -- 
 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/groups/opt_out.
  
  


-- 
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/groups/opt_out.




Maven releases and Release plugin...

2013-05-29 Thread Jeff
We had been using the Jenkins Maven release plugin to schedule maven
releases but needed to add some build steps that happen ONLY after a
successful release.

I installed the Release plugin that allows post-release steps, but it
doesn't seem to be integrated or aware of maven nor does the maven release
plugin trigger the post-release step.

Am I missing something for getting a post-release step to trigger as part
of the maven release process?

Thanks!

-- 
Jeff Vincent
See my LinkedIn profile at:
http://www.linkedin.com/in/rjeffreyvincent
I ♥ DropBox http://db.tt/9O6LfBX !!

-- 
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/groups/opt_out.




Re: net.sf.json.JSONException: JSONObject[recipientlist_recipients] not found.

2013-05-29 Thread Slide
Strange, is this reproducible?


On Wed, May 29, 2013 at 12:42 PM, Kamal Ahmed kamalah...@yahoo.comwrote:

 Jenkins ver. 1.509.1 http://jenkins-ci.org/
 which is LTS, on Centos 6.4
 Email-ext = 2.29


   --
  *From:* Slide slide.o@gmail.com
 *To:* jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com

 *Sent:* Wednesday, May 29, 2013 3:34 PM
 *Subject:* Re: net.sf.json.JSONException:
 JSONObject[recipientlist_recipients] not found.

 What version of Jenkins and email-ext are you using?


 On Wed, May 29, 2013 at 12:32 PM, Kamal Ahmed kamalah...@yahoo.comwrote:

 While trying to run https://github.com/rombert/Maven-Recipe--RPM-Packagein 
 jenkins, i got an exception:

 Error

 Failed to parse form data. Please report this problem as a bug
 JSON={name:Maven-Recipe--RPM-Package,description:,:[,0,0,0,0,0,0,0,0],logrotate:true,buildDiscarder:{stapler-class:hudson.tasks.LogRotator,daysToKeepStr:,numToKeepStr:5,artifactDaysToKeepStr:,artifactNumToKeepStr:},properties:{stapler-class-bag:true,com-sonyericsson-jenkins-plugins-bfa-model-ScannerJobProperty:{doNotScan:false},jenkins-plugins-svnmerge-IntegratableProject:{},org-jenkinsci-plugins-mavenrepocleaner-MavenRepoCleanerProperty:{notOnThisProject:false},com-suryagaddipati-jenkins-SlaveUtilizationProperty:{},hudson-model-ParametersDefinitionProperty:{},com-thalesgroup-hudson-plugins-jobrevision-JobRevision:{},hudson-plugins-svn_release_mgr-JobPropertyImpl:{},hudson-plugins-trackingsvn-TrackingSVNProperty:{},jenkins-plugins-svnmerge-FeatureBranchProperty:{},org-jenkinsci-plugins-envinject-EnvInjectJobProperty:{}},hasSlaveAffinity:{assignedLabelString:VM-DEVQA02
 },displayNameOrNull:,scm:{value:5,locations:{remote:http://svn.hq.coderyte.corp/coderyte/qa/autofw/Maven-Recipe--RPM-Package,local:.,depthOption:infinity,ignoreExternalsOption:false},:[0,auto],workspaceUpdater:{stapler-class:hudson.scm.subversion.UpdateUpdater},ignoreDirPropChanges:false,excludedRegions:,includedRegions:,excludedUsers:,excludedCommitMessages:,excludedRevprop:,filterChangelog:false},hudson-triggers-SCMTrigger:{scmpoll_spec:H
  */5 * * *,ignorePostCommitHooks:false},builder:{command:mvn clean 
 package,stapler-class:hudson.tasks.Shell,kind:hudson.tasks.Shell},publisher:{stapler-class:hudson.plugins.emailext.ExtendedEmailPublisher,kind:hudson.plugins.emailext.ExtendedEmailPublisher},core:apply:,Submit:Save}

 net.sf.json.JSONException: JSONObject[recipientlist_recipients] not found.
   at net.sf.json.JSONObject.getString(JSONObject.java:2028)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.newInstance(ExtendedEmailPublisherDescriptor.java:293)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.newInstance(ExtendedEmailPublisherDescriptor.java:31)
   at 
 hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:941)
   at 
 hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:926)
   at hudson.util.DescribableList.rebuildHetero(DescribableList.java:203)
   at hudson.model.Project.submit(Project.java:201)
   at hudson.model.Job.doConfigSubmit(Job.java:1076)
   at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:753)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:616)
   at 
 org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288)
   at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151)
   at 
 org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90)
   at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)
   at 
 org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
   at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677)
   at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770)
   at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)
   at 
 org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
   at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677)
   at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770)
   at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)
   at 
 org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
   at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677)
   at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770)
   at org.kohsuke.stapler.Stapler.invoke(Stapler.java:583)
   at org.kohsuke.stapler.Stapler.service(Stapler.java:214)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
   at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)
   at 

Re: Jabber Plugin Issue

2013-05-29 Thread spacegoose


On Wednesday, May 29, 2013 3:43:46 PM UTC-4, William Soula wrote:

  It's not the jabber user you have to have permissions for it is the user 
 you tell jabber to login to Jenkins with.  On the global Jenkins config 
 page there is a section for Jabber, this includes the Jabber ID, which is 
 what I'm guessing you gave permissoins for.  If you click the advanced 
 button you get a textbox to set the Jenkins Username.  Jenkins Username 
 needs to be set to a user that has permission in your system.  Hope that is 
 clear.


Thanks! That was clear, and it worked.

Bill
 


 Will

 On 05/29/13 14:32, spacegoose wrote:
  

 Thanks Will, 

 On Wednesday, May 29, 2013 10:29:45 AM UTC-4, William Soula wrote: 

  Do you have the jenkins url correct in the global config of jenkins? 
  

 Doh, I updated that, and it seems to be working.
  
  
  Does your user that jabber is using to login to jenkins with have the 
 correct permissions?
  

 I subsequently added the Jabber user to both the main permissions grid, 
 and the project one - gave overall read, and read / build for project. 
 Still the bot won't respond properly.

 Here's what I type and the response: 

 !status CMS-deploy-resolved
 user: unknown job CMS-deploy-resolved

 !build CMS-deploy-resolved now
 user: syntax is: 'build job [now|delay[s|m|h]] 
 [parameterkey=value]*'

 Any idea on how to customize the IM message, taglines, etc.?

 Thanks,
 Bill

   
  The commands all work for us and the links are correct.

  Will

  --
 *From:* jenkins...@googlegroups.com [jenkins...@googlegroups.com] on 
 behalf of spacegoose [space...@gmail.com]
 *Sent:* Tuesday, May 28, 2013 4:59 PM
 *To:* jenkins...@googlegroups.com
 *Subject:* Jabber Plugin Issue

   How do I customize the IM sent by the Jabber IM plugin? 

 I'm using Jenkins 1.514 and 1.25 plugins.

 I notice: see class BuildToChatNotifier ... how can I change this, 
 where is it?
  
 I would like to be able to use Jenkins environment variables similar to 
 the email plugin, e.g. https://jenkins/job/$PROJECT_NAME/$BUILD_NUMBER/

 Since our Jenkins is https via Apache, the default :8080 that is used in 
 the IM is a dead link.

 An option to configure the IM message, similar to the e-mail plugin, on a 
 global or per job basis would be great.

 Likewise, it would be nice to configure the Yawn, I'm so bored and or 
 other messages / taglines that may be used.
  
 Additionally, for whatever reason, !status job doesn't work - gives 
 unknown job - I also tried !status -v job and !status job -v and got 
 either the same unknown job or java exception. 
  
 The other commands also are not working, are there some permissions I 
 need to give?
  
 Thanks for your help!

 Bill
  -- 
 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/groups/opt_out.
  
  

  
  

-- 
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/groups/opt_out.




Re: How to set custom Windows Environment Variable in a job - quick question

2013-05-29 Thread k . thieling


I believe you would have to have it as follows: 



JOB_NAME = ${JOB_NAME} 



This creates the JOB_NAME as the environment variable that is set to the actual 
Job name in Jenkins. 



Now it will depend on the type of script you are using to be able to refer to 
the variable. 



If it is a batch script then you should be able to reference it with:  
%JOB_NAME% 



If it is a powershell script then you should be able to reference it with:  
$env:JOB_NAME 





Hope this helps 



- Original Message -


From: zw mpc8...@gmail.com 
To: jenkinsci-users@googlegroups.com 
Sent: Wednesday, May 29, 2013 2:43:31 PM 
Subject: Re: How to set custom Windows Environment Variable in a job - quick 
question 

Hi KT 


Thanks for responding. 
Should it be  JOB_NAME=%JOB_NAME% in that checkbox? 


Apologise for simple question like this. 


On Wednesday, May 29, 2013 5:35:16 AM UTC-7, KT wrote: 



I don't think you need a plugin for this.  There should be a checkbox under the 
Build Environment section of the job called Set Environment Variables  
There, I believe you should be able to do JOB_NAME=$JOB_NAME 


From: Z W  mpc...@gmail.com  
To: jenkins...@googlegroups.com 
Sent: Tuesday, May 28, 2013 10:33:08 PM 
Subject: How to set custom Windows Environment Variable in a job - quick 
question 


Hi All 


We have a windows job and we like to set environment variable like in linux. 
But we can't find a configuration plugin checkbox to allow us to set a window 
environment variable. 
Eg: 


We like to set a JOB_NAME to a variable for this windows job such that this 
JOB_NAME can be used in a post-action task. Right now, ${JOB_NAME} or 
%JOB_NAME% is not working in the script section of post-action task. 


Thanks again. 
Sincerely 

-- 
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/groups/opt_out . 
  
  




-- 
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/groups/opt_out . 
  
  

-- 
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/groups/opt_out.




Re: net.sf.json.JSONException: JSONObject[recipientlist_recipients] not found.

2013-05-29 Thread Kamal Ahmed
yes, i already did it 2 times, third time it worked, i will keep an eye on 
this, to see if it fails again
Thanks,
-Kamal.






 From: Slide slide.o@gmail.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Wednesday, May 29, 2013 3:54 PM
Subject: Re: net.sf.json.JSONException: JSONObject[recipientlist_recipients] 
not found.
 


Strange, is this reproducible? 



On Wed, May 29, 2013 at 12:42 PM, Kamal Ahmed kamalah...@yahoo.com wrote:

Jenkins ver. 1.509.1
which is LTS, on Centos 6.4 
Email-ext = 2.29






 From: Slide slide.o@gmail.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Wednesday, May 29, 2013 3:34 PM
Subject: Re: net.sf.json.JSONException: 
JSONObject[recipientlist_recipients] not found.
 


What version of Jenkins and email-ext are you using?



On Wed, May 29, 2013 at 12:32 PM, Kamal Ahmed kamalah...@yahoo.com 
wrote:

While trying to run https://github.com/rombert/Maven-Recipe--RPM-Package in 
jenkins, i got an exception:


Error
Failed to parse form data. Please report this problem as a bug
JSON={name:Maven-Recipe--RPM-Package,description:,:[,0,0,0,0,0,0,0,0],logrotate:true,buildDiscarder:{stapler-class:hudson.tasks.LogRotator,daysToKeepStr:,numToKeepStr:5,artifactDaysToKeepStr:,artifactNumToKeepStr:},properties:{stapler-class-bag:true,com-sonyericsson-jenkins-plugins-bfa-model-ScannerJobProperty:{doNotScan:false},jenkins-plugins-svnmerge-IntegratableProject:{},org-jenkinsci-plugins-mavenrepocleaner-MavenRepoCleanerProperty:{notOnThisProject:false},com-suryagaddipati-jenkins-SlaveUtilizationProperty:{},hudson-model-ParametersDefinitionProperty:{},com-thalesgroup-hudson-plugins-jobrevision-JobRevision:{},hudson-plugins-svn_release_mgr-JobPropertyImpl:{},hudson-plugins-trackingsvn-TrackingSVNProperty:{},jenkins-plugins-svnmerge-FeatureBranchProperty:{},org-jenkinsci-plugins-envinject-EnvInjectJobProperty:{}},hasSlaveAffinity:{assignedLabelString:VM-DEVQA02
},displayNameOrNull:,scm:{value:5,locations:{remote:http://svn.hq.coderyte.corp/coderyte/qa/autofw/Maven-Recipe--RPM-Package,local:.,depthOption:infinity,ignoreExternalsOption:false},:[0,auto],workspaceUpdater:{stapler-class:hudson.scm.subversion.UpdateUpdater},ignoreDirPropChanges:false,excludedRegions:,includedRegions:,excludedUsers:,excludedCommitMessages:,excludedRevprop:,filterChangelog:false},hudson-triggers-SCMTrigger:{scmpoll_spec:H
 */5 * * *,ignorePostCommitHooks:false},builder:{command:mvn clean 
package,stapler-class:hudson.tasks.Shell,kind:hudson.tasks.Shell},publisher:{stapler-class:hudson.plugins.emailext.ExtendedEmailPublisher,kind:hudson.plugins.emailext.ExtendedEmailPublisher},core:apply:,Submit:Save}
 net.sf.json.JSONException: JSONObject[recipientlist_recipients] not found. 
at net.sf.json.JSONObject.getString(JSONObject.java:2028) at
 
hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.newInstance(ExtendedEmailPublisherDescriptor.java:293)
 at 
hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.newInstance(ExtendedEmailPublisherDescriptor.java:31)
 at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:941) at 
hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:926) at 
hudson.util.DescribableList.rebuildHetero(DescribableList.java:203) at 
hudson.model.Project.submit(Project.java:201) at 
hudson.model.Job.doConfigSubmit(Job.java:1076) at 
hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:753) at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:616) at
 org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288) at 
org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151) at 
org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90) at 
org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111) at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) 
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at 
org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at 
org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) 
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at 
org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at 
org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) 
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at
 org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at 
org.kohsuke.stapler.Stapler.invoke(Stapler.java:583) at 
org.kohsuke.stapler.Stapler.service(Stapler.java:214) at 

Re: net.sf.json.JSONException: JSONObject[recipientlist_recipients] not found.

2013-05-29 Thread Slide
Was the page fully rendered when you pressed the save or apply buttons? I
can't think of any reason why the item wouldn't be in the JSON if the form
element is visible and ready.


On Wed, May 29, 2013 at 1:33 PM, Kamal Ahmed kamalah...@yahoo.comwrote:

 yes, i already did it 2 times, third time it worked, i will keep an eye on
 this, to see if it fails again
 Thanks,
 -Kamal.


   --
  *From:* Slide slide.o@gmail.com
 *To:* jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com

 *Sent:* Wednesday, May 29, 2013 3:54 PM

 *Subject:* Re: net.sf.json.JSONException:
 JSONObject[recipientlist_recipients] not found.

 Strange, is this reproducible?


 On Wed, May 29, 2013 at 12:42 PM, Kamal Ahmed kamalah...@yahoo.comwrote:

 Jenkins ver. 1.509.1 http://jenkins-ci.org/
 which is LTS, on Centos 6.4
 Email-ext = 2.29


   --
  *From:* Slide slide.o@gmail.com
 *To:* jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com

 *Sent:* Wednesday, May 29, 2013 3:34 PM
 *Subject:* Re: net.sf.json.JSONException:
 JSONObject[recipientlist_recipients] not found.

 What version of Jenkins and email-ext are you using?


 On Wed, May 29, 2013 at 12:32 PM, Kamal Ahmed kamalah...@yahoo.comwrote:

 While trying to run https://github.com/rombert/Maven-Recipe--RPM-Packagein 
 jenkins, i got an exception:

 Error

 Failed to parse form data. Please report this problem as a bug
 JSON={name:Maven-Recipe--RPM-Package,description:,:[,0,0,0,0,0,0,0,0],logrotate:true,buildDiscarder:{stapler-class:hudson.tasks.LogRotator,daysToKeepStr:,numToKeepStr:5,artifactDaysToKeepStr:,artifactNumToKeepStr:},properties:{stapler-class-bag:true,com-sonyericsson-jenkins-plugins-bfa-model-ScannerJobProperty:{doNotScan:false},jenkins-plugins-svnmerge-IntegratableProject:{},org-jenkinsci-plugins-mavenrepocleaner-MavenRepoCleanerProperty:{notOnThisProject:false},com-suryagaddipati-jenkins-SlaveUtilizationProperty:{},hudson-model-ParametersDefinitionProperty:{},com-thalesgroup-hudson-plugins-jobrevision-JobRevision:{},hudson-plugins-svn_release_mgr-JobPropertyImpl:{},hudson-plugins-trackingsvn-TrackingSVNProperty:{},jenkins-plugins-svnmerge-FeatureBranchProperty:{},org-jenkinsci-plugins-envinject-EnvInjectJobProperty:{}},hasSlaveAffinity:{assignedLabelString:VM-DEVQA02
 },displayNameOrNull:,scm:{value:5,locations:{remote:http://svn.hq.coderyte.corp/coderyte/qa/autofw/Maven-Recipe--RPM-Package,local:.,depthOption:infinity,ignoreExternalsOption:false},:[0,auto],workspaceUpdater:{stapler-class:hudson.scm.subversion.UpdateUpdater},ignoreDirPropChanges:false,excludedRegions:,includedRegions:,excludedUsers:,excludedCommitMessages:,excludedRevprop:,filterChangelog:false},hudson-triggers-SCMTrigger:{scmpoll_spec:H
  */5 * * *,ignorePostCommitHooks:false},builder:{command:mvn clean 
 package,stapler-class:hudson.tasks.Shell,kind:hudson.tasks.Shell},publisher:{stapler-class:hudson.plugins.emailext.ExtendedEmailPublisher,kind:hudson.plugins.emailext.ExtendedEmailPublisher},core:apply:,Submit:Save}

 net.sf.json.JSONException: JSONObject[recipientlist_recipients] not found.
   at net.sf.json.JSONObject.getString(JSONObject.java:2028)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.newInstance(ExtendedEmailPublisherDescriptor.java:293)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.newInstance(ExtendedEmailPublisherDescriptor.java:31)
   at 
 hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:941)
   at 
 hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:926)
   at hudson.util.DescribableList.rebuildHetero(DescribableList.java:203)
   at hudson.model.Project.submit(Project.java:201)
   at hudson.model.Job.doConfigSubmit(Job.java:1076)
   at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:753)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:616)
   at 
 org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288)
   at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151)
   at 
 org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90)
   at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)
   at 
 org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
   at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677)
   at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770)
   at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)
   at 
 org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
   at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677)
 

Re: Maven releases and Release plugin...

2013-05-29 Thread Jeff
Is there a plan to integrate it?


On Wed, May 29, 2013 at 3:19 PM, teilo teilo+goo...@teilo.net wrote:

 Hi Jeff,

 This functionality is not yet available in the m2release plugin.

 /James

 --
 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/groups/opt_out.





-- 
Jeff Vincent
See my LinkedIn profile at:
http://www.linkedin.com/in/rjeffreyvincent
I ♥ DropBox http://db.tt/9O6LfBX !!

-- 
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/groups/opt_out.




Finding unused plugins

2013-05-29 Thread jdtangney
Our Jenkins setup has grown rather um, organically. We now have lots of 
plugins installed and I am sure several are not even used. Worse, we seem 
to have cases where two plugins do almost the same thing. 

How can I identify which plugins are not used by any existing job? I want 
to uninstall them.

Thanks,
--johnt

-- 
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/groups/opt_out.