Re: Problem with Clearcase plugin running many builds in parallel

2014-06-27 Thread Sascha Herrmann
Hi!

I have quickly added a Thread.sleep( 5000 ) into 
BaseSnapshotCheckoutAction#checkout() between endview and setcs on our 
build machine and will monitor if that improves things.
Maybe ClearTool.endViewServer() would be the better place for that delay. 
Not sure.
5000 millis is probably too much, yes. Just wanted to be on the safe side 
for the test.

First build flows ran successfully. Seems to confirm that there is a timing 
problem in our environment.
Will update the thread with the results in a couple of days when I know for 
sure.

Sascha

-- 
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: SVN Check out issue

2014-06-27 Thread Panikera Raj
Hi Niel,

Now I am running through master even though I am not able to ran I am
getting same exception. And as you said,
Where I need to pass the credentials for Jenkins. For Cygwin if I pass
once, It's not asking second time onwards How to handle.. I got struck
here..

Please suggest me on this.

Regards,
Panikera


On Wed, Jun 25, 2014 at 7:43 PM, BIRD Neil neil.b...@uk.thalesgroup.com
wrote:

 *From:* Panikera Raj, *Sent:* 23 June 2014 11:48

 I am unable to check out code from svn using Jenkins where as same command
 if ran using Cygwin it is able to check out the code .



 svn: E215004: Authentication failed and interactive prompting is disabled; 
 see the --force-interactive option

 svn: E215004: Unable to connect to a repository at URL 
 'http://localhost:3690/svn/Handset/tags/tags/Product/Insta_Poc_Client 
 http://192.168.3.24:3690/svn/Handset/tags/Kodiak_PoC_CDE_07_008_01_01_02Q/Product/Insta_Poc_Client'

 svn: E215004: No more credentials or we tried too many times.



   As a wild stab in the dark, have you set up the *svn credentials* in the 
 main settings, and then chosen the appropriate one for the job?  Also, being 
 able to check out from Cygwin won’t help if Jenkins is running the slave as a 
 different user, which might be the case depending upon how you launched it.



 --
 [neil@fnx ~]# rm -f .signature
 [neil@fnx ~]# ls -l .signature
 ls: .signature: No such file or directory
 [neil@fnx ~]# exit





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


Jenkins 1.568 does not use latest svn repo format

2014-06-27 Thread Notes Jonny
Hello

I installed Jenkins 1.568 on a Windows7 machine that has latest
TortoiseSVN. Unfortunately I see Jenkins is using a much older repo
format.

Could Jenkins be updated to use latest SVN repo format?  It is very
inconvenient that I can't commit files that I modify in the Jenkins
checkout..
Jon

-- 
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: Jenkins 1.568 does not use latest svn repo format

2014-06-27 Thread Matthew.Webber
The SVN format can be specified through the web interface at Manage Jenkins -- 
Configure System -- Subversion Workspace Version.

Although I think that commit files that I modify in the Jenkins checkout is a 
non-standard workflow that you might want to rethink. Can you explain why 
you're doing that?

Matthew

 -Original Message-
 From: Notes Jonny [mailto:jong...@gmail.com]
 Sent: 27 June 2014 10:47
 To: jenkinsci-users
 Subject: Jenkins 1.568 does not use latest svn repo format
 
 Hello
 
 I installed Jenkins 1.568 on a Windows7 machine that has latest
 TortoiseSVN. Unfortunately I see Jenkins is using a much older repo
 format.
 
 Could Jenkins be updated to use latest SVN repo format?  It is very
 inconvenient that I can't commit files that I modify in the Jenkins
 checkout..
 Jon
 

-- 
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: Not able to run MATLAB execution using shell script.

2014-06-27 Thread Rachit Kumar
Hello Guys,

Thanks a lot for your input, the issue has been resolved. The problem is in
the Project configuration. It was configured for Windows and I was running
it on Linux. Sorry for your time, thanks a lot!


On 26 June 2014 14:47, Vivekanand S V svvivekan...@gmail.com wrote:

 If you can execute matlab using your user account from terminal and you
 are using the same accoutn while running the job, add this line in your
  execute shell step

 export PATH=$PATH:/usr/local/MATLAB/R2014a/bin/

 That should point to the correct executable. You can try the above step
 even if you are using other user account from jenkins (it may just work :) )

 Vivek.



 On Thu, Jun 26, 2014 at 4:33 PM, Rachit Kumar tihcar.ra...@gmail.com
 wrote:

 Hello Richard,

 Modification:

 #!/bin/bash
 /usr/local/MATLAB/R2014a/bin/matlab -nosplash -nodisplay -r
 InitFileName='model_init',VariableList={'motorspeed' 'motorpositions'
 'voltage'},SimStart=0,SimEnd=20,ModelName='jenkins_test_model';jenkins_matlab

 It gives the following error:


 [MATLAB_Jenkins_Integration] $ bash -xe /tmp/hudson199216277896528528.sh
 + /unsecured/jenkins/workspace/MATLAB_Jenkins_Integration/project/build.sh 
 Build-104
 /unsecured/jenkins/workspace/MATLAB_Jenkins_Integration/project/build.sh: 
 line 2: /usr/local/MATLAB/R2014a/bin/matlab: No such file or directory
 Build step 'Execute shell' marked build as failure
 [htmlpublisher] Archiving HTML reports...
 [htmlpublisher] Archiving at BUILD level 
 /unsecured/jenkins/workspace/MATLAB_Jenkins_Integration/project/output to 
 /srv/jenkins/jobs/MATLAB_Jenkins_Integration/builds/2014-06-26_13-00-52/htmlreports/Simulation_Result

 Finished: FAILURE




 On Thursday, 26 June 2014 12:41:54 UTC+2, Richard Bywater wrote:

 Another option is just to change the shell script and put the path in
 there (e.g. change matlab to /opt/matlab/bin/matlab or whether the matlab
 executable is)

 Richard.


 On Thu, Jun 26, 2014 at 9:59 PM, Rachit Kumar tihcar...@gmail.com
 wrote:

 Frankly I am new to Jenkins and new to Linux environment as well!
 How can I check what is th euserid jenkins is using and how do I set
 the PATH for that userid. Also I do not have root access, so will it be
 possible for me to change the PATH of Jenkins userid and and run the MATLAB
 simulation.
 Thank you!


 On Thursday, 26 June 2014 11:36:49 UTC+2, matthew...@diamond.ac.uk
 wrote:

  Doesn’t matlab: command not found tell you what the problem is? If
 it works from the terminal but not under Jenkins, then the PATH is
 presumably different in the two cases. Did you try in from the terminal
 using the same userid that Jenkins runs under?



 *From:* Rachit Kumar [mailto:tihcar...@gmail.com]
 *Sent:* 26 June 2014 10:30
 *To:* jenkins...@googlegroups.com

 *Subject:* Not able to run MATLAB execution using shell script.



 Following is the shell script:

 #!/bin/bash
 matlab -nosplash -nodisplay -r 
 InitFileName='model_init',VariableList={'motorspeed'
 'motorpositions' 'voltage'},SimStart=0,SimEnd=2
 0,ModelName='jenkins_test_model';jenkins_matlab

 This works fine when I execute it from Terminal, but throws following
 error when I use 'Execute shell' to run the script:

 [MATLAB_Jenkins_Integration] $ bash -xe /tmp/hudson567488996824014170.sh

 + 
 /unsecured/jenkins/workspace/MATLAB_Jenkins_Integration/project/build.sh 
 Build-102

 /unsecured/jenkins/workspace/MATLAB_Jenkins_Integration/project/build.sh: 
 line 2: matlab: command not found

 Build step 'Execute shell' marked build as failure

 [htmlpublisher] Archiving HTML reports...

 [htmlpublisher] Archiving at BUILD level 
 /unsecured/jenkins/workspace/MATLAB_Jenkins_Integration/project/output to 
 /srv/jenkins/jobs/MATLAB_Jenkins_Integration/builds/2014-06-26_11-03-09/htmlreports/Simulation_Result

 Finished: FAILURE


 It would be really great if someone can help resolving this problem.
 Thanks in advance!

 --
 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-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 a topic in the
 Google Groups Jenkins Users group.
 To unsubscribe from this topic, visit
 

JobConfigHistory not available for maven projects

2014-06-27 Thread Òscar Picassó
Hi,

I have installed the JobConfigHistory plugin.
The job config history is now available for free style projects but for 
maven projects the config history displays No job configuration history 
available.

Versions:
Jenkins: 1.532.2
JobConfigHistory Plugin: 2.6
Maven Project Plugin: 2.0

What can be done?

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


HTML formatting not working in Jenkins 1.568

2014-06-27 Thread Notes Jonny
Hello

I am migrating from Hudson and also a Jenkins 1.459 to Jenkins 1.568

I found that my HTML formated messages that I added to each build
configuration and also the System Message (Under Manage Jenkins) does
not display.

In fact I see the HTML codes directly on the page.

Any ideas?
Jon

-- 
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: AccuRev Automated Builds in Jenkins

2014-06-27 Thread David Simmon
I do see now looking 
at https://wiki.jenkins-ci.org/display/JENKINS/Accurev+Plugin that it has a 
link to GitHub and Issue Tracking.

Should I submit this as an issue?   It doesn't look like it's been released 
since 12/19/2013, so I'm not certain how active Scott and Clint are.

Also, looking through this, I see it seems I'm not the only one with this 
issue, https://issues.jenkins-ci.org/browse/JENKINS-13817 , and it looks 
like it was reported in 2012.

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


jenkin emails

2014-06-27 Thread Nikhil Shah
Hello,

I had a quick question relating to jenkins and github. We've got a lot of 
our projects tied to our github repo. With that said, some of our folks use 
their personal github account granted access to our private repos. We've 
noticed that jenkins actually uses the email addresses from github as well 
as the email plugin from jenkins. Is there a way to disable emailing to the 
github accounts?

-- 
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: jenkin emails

2014-06-27 Thread Slide
If you provide a valid email in the Person area for your users, it should
use that email address. The other option would be to install the mailmap
address resolver plugin and map the usernames to correct email addresses
there.




On Fri, Jun 27, 2014 at 7:58 AM, Nikhil Shah ns...@theorchard.com wrote:

 Hello,

 I had a quick question relating to jenkins and github. We've got a lot of
 our projects tied to our github repo. With that said, some of our folks use
 their personal github account granted access to our private repos. We've
 noticed that jenkins actually uses the email addresses from github as well
 as the email plugin from jenkins. Is there a way to disable emailing to the
 github accounts?

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


Re: Looking for Jenkins contract instructor

2014-06-27 Thread Schalk Cronjé
It would help if you state where you are based. If would be easier for 
lurking instructors to reach out to you, rather than getting arbitrary 
emails from all over the world :)

On Thursday, 26 June 2014 18:08:50 UTC+1, jtodd wrote:

 I am looking for an instructor who can teach Jenkins to a group of 
 developers just starting with Jenkins.  Any help would be appreciated. 
 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: Jenkins 1.568 does not use latest svn repo format

2014-06-27 Thread Notes Jonny
It is somewhat tricky to integrate out-of-date Jenkins with svn and TortoiseSVN

e.g:

svn: E155036: Please see the 'svn upgrade' command
svn: E155036: The working copy at '/cygdrive/c/jenkins/sdk_build'
is too old (format 29) to work with client version '1.8.9 (r1591380)'
(expects format 31). You need to upgrade the working copy first.


$ svn --version
svn, version 1.8.9 (r1591380)
   compiled May 14 2014, 22:20:14 on i686-pc-cygwin

TortoiseSVN:
TortoiseSVN 1.8.5, Build 25224 - 32 Bit , 2014/02/18 20:05:11
Subversion 1.8.8, -release

But Jenkins is using out of date: Subversion Workspace version 1.7

Any ideas?



On Fri, Jun 27, 2014 at 10:46 AM, Notes Jonny jong...@gmail.com wrote:
 Hello

 I installed Jenkins 1.568 on a Windows7 machine that has latest
 TortoiseSVN. Unfortunately I see Jenkins is using a much older repo
 format.

 Could Jenkins be updated to use latest SVN repo format?  It is very
 inconvenient that I can't commit files that I modify in the Jenkins
 checkout..
 Jon

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


Jenkins Single sign on issue

2014-06-27 Thread swaroop Ch viswa
Hi,

I deployed jenkins1.569 on weblogic server 10.3.
and configured Active Directory of our group on the security.

I have two issues here.

1.Single sign on set up
2.403 error

1.How can i set up a single sign on feature for weblogic/jenkins console 
for our group? does configuration might help please suggest.

2.The 403- forbidden error is most common for hudson/jenkins there seems to 
be some bug.coming to my situation 

when i try to login using my credentials like below

http://tinypic.com/r/2cor7zk/8 /

the next page is with this error

http://tinypic.com/r/2laajxe/8 /

when i click 'try again' it logs me in. but when refresh this page. the 
result is...

http://tinypic.com/r/wrdn48/8 /

So overall there seems to be some issue with jenkins regarding the security 
part.

If anyone tried this or have any information on this please reply to this 
post.

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: HTML formatting not working in Jenkins 1.568

2014-06-27 Thread Daniel Beck
Install the anything-goes-formatter plugin, and change the formatter used in 
global security preferences.

On 27.06.2014, at 15:26, Notes Jonny jong...@gmail.com wrote:

 Hello
 
 I am migrating from Hudson and also a Jenkins 1.459 to Jenkins 1.568
 
 I found that my HTML formated messages that I added to each build
 configuration and also the System Message (Under Manage Jenkins) does
 not display.
 
 In fact I see the HTML codes directly on the page.
 
 Any ideas?
 Jon
 
 -- 
 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: Jenkins 1.568 does not use latest svn repo format

2014-06-27 Thread Daniel Beck
Downgrade TortoiseSVN, or install another SVN (1.7) client to modify the 
working copies used in Jenkins.

Jenkins Subversion Plugin does not support SVN 1.8.

On 27.06.2014, at 19:49, Notes Jonny jong...@gmail.com wrote:

 It is somewhat tricky to integrate out-of-date Jenkins with svn and 
 TortoiseSVN
 
 e.g:
 
 svn: E155036: Please see the 'svn upgrade' command
 svn: E155036: The working copy at '/cygdrive/c/jenkins/sdk_build'
 is too old (format 29) to work with client version '1.8.9 (r1591380)'
 (expects format 31). You need to upgrade the working copy first.
 
 
 $ svn --version
 svn, version 1.8.9 (r1591380)
   compiled May 14 2014, 22:20:14 on i686-pc-cygwin
 
 TortoiseSVN:
 TortoiseSVN 1.8.5, Build 25224 - 32 Bit , 2014/02/18 20:05:11
 Subversion 1.8.8, -release
 
 But Jenkins is using out of date: Subversion Workspace version 1.7
 
 Any ideas?
 
 
 
 On Fri, Jun 27, 2014 at 10:46 AM, Notes Jonny jong...@gmail.com wrote:
 Hello
 
 I installed Jenkins 1.568 on a Windows7 machine that has latest
 TortoiseSVN. Unfortunately I see Jenkins is using a much older repo
 format.
 
 Could Jenkins be updated to use latest SVN repo format?  It is very
 inconvenient that I can't commit files that I modify in the Jenkins
 checkout..
 Jon
 
 -- 
 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.


A build's queue timestamp via $URL/job/$job_name/$build_number/api/xml

2014-06-27 Thread DarrelVun

How can I see when each individual build was queued?  I want to see it 
after-the-fact via the REST API.  I can see (via timestamp) when it 
started building.  

This is a different question than how long is your queue or do you have 
enough slave-nodes.  

Any suggestions, please?


Regards,
Darrel V in NC

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


Issue with using REST API to schedule multiple jobs

2014-06-27 Thread Naomi Chopra
I am using Jenkins REST API to schedule jobs on behalf of multiple users.
If I schedule the build jobs for the same project in a loop (without delay) 
with the same parameters but different users, Jenkins combines all the jobs 
and just runs one job. If I change the parameters or add considerable delay 
between the build requests (~10 secs) then the jobs are kicked off 
separately.

Is this behavior intended or am I doing anything wrong?

Is it possible to schedule a new job for every job request via the REST API 
even if the parameters are the same?

https://lh4.googleusercontent.com/-PHvV5IhD1KA/U64dCAmFWPI/Dy0/LqbTmpXEods/s1600/jenkins-issue.jpg


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: Issue with using REST API to schedule multiple jobs

2014-06-27 Thread Benjamin Lau
Try adding an extra parameter that's always different. Some people use a
time counter. I've used a hash of the time, user, and other parameters.
That should guarantee that each job has a unique parameter set and overcome
the problem. I think you can also use the Random String Parameter Plugin[1]
but I was having a weird problem with how it interacted with the Rebuild
Plugin[2] so I couldn't use it (and didn't have the time to debug the
source of the problem).

[1]
https://wiki.jenkins-ci.org/display/JENKINS/Random+String+Parameter+Plugin
[2] https://wiki.jenkins-ci.org/display/JENKINS/Rebuild+Plugin


On Fri, Jun 27, 2014 at 6:41 PM, Naomi Chopra naomi.chopra@gmail.com
wrote:

 I am using Jenkins REST API to schedule jobs on behalf of multiple users.
 If I schedule the build jobs for the same project in a loop (without
 delay) with the same parameters but different users, Jenkins combines all
 the jobs and just runs one job. If I change the parameters or add
 considerable delay between the build requests (~10 secs) then the jobs are
 kicked off separately.

 Is this behavior intended or am I doing anything wrong?

 Is it possible to schedule a new job for every job request via the REST
 API even if the parameters are the same?


 https://lh4.googleusercontent.com/-PHvV5IhD1KA/U64dCAmFWPI/Dy0/LqbTmpXEods/s1600/jenkins-issue.jpg


 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.


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