Re: Browser gets opening without proxy

2013-10-08 Thread JonathanRRogers


On Monday, October 7, 2013 8:30:56 AM UTC-4, pradeep kattekola wrote:

 Hi team,


 i am new to jenkins. i developed one selenium script which runs properly 
 when its gets executed from eclipse.

 But when i started the same job using jenkins , its not working proper. 


 In browser , there are some proxy settings and the url which i calling is 
 gets open with same proxy. but when the browser gets open with jenkins is 
 opening with No proxy so that the website not gets opening.


 Is there any solution to open the browser with previous proxy settings. ?


You're talking about an issue with Selenium, which is outside the scope of 
Jenkins. You should probably start at the Selenium documentation at 
URL:http://docs.seleniumhq.org/docs/  and post questions in the Selenium 
user group: URL:https://groups.google.com/forum/#!forum/selenium-users

-- 
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: Tests randomly failing on slaves

2013-10-08 Thread JonathanRRogers


On Monday, October 7, 2013 8:25:42 AM UTC-4, incubusattax wrote:

 Hey guys,

 I have some Webdriver tests that run perfectly when I run them via Eclipse 
 but when I run them via Jenkins on a slave, they seem to fail randomly.
 Any ideas on how I can troubleshoot this?


It's not really a Jenkins issue, but I had a lot of trouble with 
intermittent WebDriver test failures until I figured out the right way to 
tweak them.  The failures I encountered seemed to mostly relate to timing 
and I eliminated most of them by disabled native events and enabling 
implicit waits. I don't know what the deal with native events is. The docs 
say they're supposed to be better than whatever the original method was, 
but in my experience they only slowed down WebDriver and gave me a bunch of 
intermittent failures.

-- 
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: [ANN] SSH Slaves 1.3

2013-10-08 Thread David Aldrich
Hi Stephen

I wonder if you didn't see my comment yesterday. So here it is again:

As of 8 October, Plugin Manager is still showing version 1.2 as the latest 
version. We currently have version 0.27 installed.  Should Plugin Manager be 
showing 1.3?

Best regards

David

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Stephen Connolly
Sent: 04 October 2013 13:21
To: jenkinsci-...@googlegroups.com; jenkinsci-users@googlegroups.com
Subject: [ANN] SSH Slaves 1.3

I found a number of bugs with the upgrade logic for handling pre-credentials 
integration to post-credentials integration.

Version 1.3 of the SSH Slaves plugin should be *much* better at upgrading, and 
should identify and consolidate duplicate keys correctly (it was previously 
failing to pick up matches that differed in whitespace, etc)

This version needs credentials 1.8.3 and ssh-credentials 1.5.1 (but should be 
ok with any of the credentials 1.7+ and ssh-credentials 1.4+ or to put it 
another way, if you forget to upgrade them your instance should not blow up, 
however you are *strongly* recommended to upgrade them anyway, e.g. 
ssh-credentials has some logic to help repair previously borked upgrade 
attempts)

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

Click 
herehttps://www.mailcontrol.com/sr/y2CHwNQ4oWXGX2PQPOmvUqs4kYhz3KDrQO54vQtFst4n67YGthIhXIBxS8mYvcmsU7d!dcml!s!46EHnGWFGZQ==
 to report this email as spam.

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: ssh-agent plugin problems

2013-10-08 Thread Stephen Connolly
You might try the 1.4 release that I just cut.

If you get fed up waiting for the OSS update centre, you can download it
from http://jenkins-updates.cloudbees.com/download/plugins/ssh-agent/

If that (and I'm hoping the update of JNR libraries fixes the issue) does
not work, then you will have to go the more painful Tomcat APR binaries
route... which involves putting files in JVM's ext directory and fun with
BouncyCastle... I may see if I can set up a OS-X VM to test on a clean OSX
machine rather than one that has all my dev tools


On 7 October 2013 19:46, Maciej Sawicki viroos...@gmail.com wrote:

 Hi,
 I would like to use ssh-agent plugin but I have some problems with it:

 *00:00:00.000* Started by user maciej.sawicki 
 https://dev.polidea.pl/jenkins/user/maciej.sawicki*00:00:00.004* Building 
 remotely on orwell in workspace /Users/jenkins/workspace/xxx*00:00:00.004* 
 [ssh-agent] Using credentials jenkins (slave_key)*00:00:00.004* [ssh-agent] 
 Looking for ssh-agent implementation...*00:00:00.004* [ssh-agent]   Java/JNR 
 ssh-agent*00:00:00.012* [ssh-agent] FATAL: Could not find a suitable 
 ssh-agent provider*00:00:00.012* [ssh-agent] Diagnostic report*00:00:00.012* 
 [ssh-agent] * Java/JNR ssh-agent*00:00:00.012* java.io.IOException: Remote 
 call on orwell failed*00:00:00.012*at 
 hudson.remoting.Channel.call(Channel.java:723)*00:00:00.013* at 
 com.cloudbees.jenkins.plugins.sshagent.jna.JNRRemoteAgentFactory.start(JNRRemoteAgentFactory.java:61)*00:00:00.013*
   at 
 com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper$SSHAgentEnvironment.init(SSHAgentBuildWrapper.java:203)*00:00:00.013*
   at 
 com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper.createSSHAgentEnvironment(SSHAgentBuildWrapper.java:119)*00:00:00.013*
at 
 com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper.preCheckout(SSHAgentBuildWrapper.java:89)*00:00:00.013*
   at 
 jenkins.scm.SCMCheckoutStrategy.preCheckout(SCMCheckoutStrategy.java:78)*00:00:00.013*
at 
 hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561)*00:00:00.014*
   at hudson.model.Run.execute(Run.java:1665)*00:00:00.014*at 
 hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)*00:00:00.014*
 at 
 hudson.model.ResourceController.execute(ResourceController.java:88)*00:00:00.014*
 at hudson.model.Executor.run(Executor.java:246)*00:00:00.014* Caused by: 
 java.lang.NoClassDefFoundError: Could not initialize class 
 jnr.unixsocket.Native$LibC*00:00:00.014*at 
 jnr.unixsocket.Native.libsocket(Native.java:60)*00:00:00.015*at 
 jnr.unixsocket.Native.socket(Native.java:68)*00:00:00.015*   at 
 jnr.unixsocket.UnixServerSocketChannel.init(UnixServerSocketChannel.java:38)*00:00:00.015*
  at 
 jnr.unixsocket.UnixServerSocket.init(UnixServerSocket.java:29)*00:00:00.015*
at 
 jnr.unixsocket.UnixServerSocketChannel.open(UnixServerSocketChannel.java:48)*00:00:00.015*
at 
 com.cloudbees.jenkins.plugins.sshagent.jna.AgentServer.start(AgentServer.java:67)*00:00:00.016*
   at 
 com.cloudbees.jenkins.plugins.sshagent.jna.JNRRemoteAgent.init(JNRRemoteAgent.java:64)*00:00:00.016*
at 
 com.cloudbees.jenkins.plugins.sshagent.jna.JNRRemoteAgentStarter.call(JNRRemoteAgentStarter.java:54)*00:00:00.016*
at 
 com.cloudbees.jenkins.plugins.sshagent.jna.JNRRemoteAgentStarter.call(JNRRemoteAgentStarter.java:35)*00:00:00.016*
at hudson.remoting.UserRequest.perform(UserRequest.java:118)*00:00:00.016* 
  at 
 hudson.remoting.UserRequest.perform(UserRequest.java:48)*00:00:00.017*   
 at hudson.remoting.Request$2.run(Request.java:326)*00:00:00.017*at 
 hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)*00:00:00.017*
 at 
 java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)*00:00:00.017*
  at 
 java.util.concurrent.FutureTask.run(FutureTask.java:166)*00:00:00.017*   
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)*00:00:00.018*
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)*00:00:00.018*
 at java.lang.Thread.run(Thread.java:722)*00:00:00.018* FATAL: 
 [ssh-agent] Unable to start agent*00:00:00.018* java.lang.RuntimeException 
 http://stacktrace.jenkins-ci.org/search?query=java.lang.RuntimeException: 
 [ssh-agent] Could not find a suitable ssh-agent provider.*00:00:00.018*at 
 com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper$SSHAgentEnvironment.init(SSHAgentBuildWrapper.java:217)*00:00:00.019*
   at 
 com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper.createSSHAgentEnvironment(SSHAgentBuildWrapper.java:119)
  
 http://stacktrace.jenkins-ci.org/search/?query=com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper.createSSHAgentEnvironmententity=method*00:00:00.019*
   at 
 

Dynamic selection of downstream jobs

2013-10-08 Thread Moral
Hi All,

Our setup is:

Tomcat 7.0.32
Jenkins 1.518
Multijob Plug in 1.9

We have multiple jobs that call a single downstream job for generating code 
from Matlab

The upstream job takes the generated code from the downstream job and 
compile.

The relationship between upstream and downstream jobs is M:1. 

In this setup if more then 1 upstream job is triggered only one can execute 
the downstream job and the others shall wait.

I want to create more than 1 downstream job so the code generation can be 
run in parallel for multiple upstream jobs.

To do that I need to be able to select dynamically at run time which 
downstream jobs can be executed by the upstream jobs.

Something like (having two downstream jobs A and B) in each upstream job


if downstream job A is not running then

call the downstream job A


else if downstream job B is not running then

call the downstream job B


else

wait



Our questions are:

Is there a plug in or some strategy that can be used to achieved this?

Is there a way to check if a downstream job is already executing? In this 
way I can use the test for implementing the logic described.

Thanks
'
Alberto



-- 
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: Jenkins Automatically Deleting Build Logs

2013-10-08 Thread Manjunath DG
Hi Mishael Kim,
Its not yet fixed. How do i do   Reload Configuration from Disk in jenkins 
1.522 Version,Do we have any option in web interface or else need to do 
something in Backend of Linux server.


Regards,
Manju



 From: Mishael Kim mish...@gmail.com
To: jenkinsci-users@googlegroups.com 
Sent: Tuesday, October 8, 2013 1:18 PM
Subject: Re: Jenkins Automatically Deleting Build Logs
 


this issue may be fixed in the next build?!
https://issues.jenkins-ci.org/browse/JENKINS-15156


*crossing-fingers.



On Fri, Oct 4, 2013 at 5:53 AM, Manjunath DG dgmanjunat...@yahoo.com wrote:

Hi Daniel,
Yes seems all because of the project change after the restart as caused this 
problem.Will another restart of Jenkins instance will fix my problem.Can you 
please suggest me on this.


Thanks and Regards,
Manjunath D G




 
From: Manjunath DG dgmanjunat...@yahoo.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Monday, September 30, 2013 2:15 PM

Subject: Re: Jenkins Automatically Deleting Build Logs



Yes Daniel,Is that causing this problem.So who do i now proceed with...


Thanks in advance Daniel..!


Regards,
Manju




 From: Daniel Beck m...@beckweb.net
To: jenkinsci-users@googlegroups.com 
Sent: Monday, September 23, 2013 10:37 PM
Subject: Re: Jenkins Automatically Deleting Build Logs
 

Did you rename these projects since the last Jenkins restart?

https://issues.jenkins-ci.org/browse/JENKINS-18678

On 23.09.2013, at 12:42, Manjunath DG dgmanjunat...@yahoo.com wrote:

 
 Hi
 All,
 There are three projects for which Jenkins is automatically deleting the 
 logs despite the fact settings are otherwise, The logs are getting deleted 
 hourly only specific to those 3 projects. Rest all other projects are not 
 having any concern.Unable to find the root cause of this issue. Can someone 
 please help us to fix this and if noticed the same in past.
 Our environment is with Jenkins version 1.522 and running on Ubuntu Os.
 I have all set with Discard Old Builds, But still noticing the logs are not 
 stored. This is not the case with other projects. I have almost 100 projects 
 and out of this only 3 projects are having issue.
  
 Discard Old Builds
  
 Strategy
 
  
  
 Days to keep builds

 if not empty, build records are only kept up to this number of days
  
 Max # of builds to keep
 if not empty, only up to this
 number of build records are kept
  
  
 Thank  you and Best Regards,
 Manjunath D G
 
 -- 
 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.


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


request on Jenkins error for time stamp

2013-10-08 Thread bala nageswar Chadalavada
hi.

i am getting the same time for all the jobs i created in JENKINS

What would be the reason is
Verison im using is Jenkins ver. 1.494 http://jenkins-ci.org/


[image: Inline image 1]

-- 
Bala.ch

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

RE: request on Jenkins error for time stamp

2013-10-08 Thread Matthew.Webber
Maybe the jobs all ran 50 minutes ago? Are you saying that they didn’t?
By the way, that’s a very old Jenkins release, older than the current long term 
support release, you might want to consider upgrading.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of bala nageswar Chadalavada
Sent: 08 October 2013 12:30
To: jenkinsci-users@googlegroups.com
Subject: request on Jenkins error for time stamp

hi.

i am getting the same time for all the jobs i created in JENKINS

What would be the reason is
Verison im using is Jenkins ver. 1.494http://jenkins-ci.org/


[Inline image 1]

--
Bala.ch
--




-- 

This e-mail and any attachments may contain confidential, copyright and or 
privileged material, and are for the use of the intended addressee only. If you 
are not the intended addressee or an authorised recipient of the addressee 
please notify us of receipt by returning the e-mail and do not use, copy, 
retain, distribute or disclose the information in or attached to the e-mail.

Any opinions expressed within this e-mail are those of the individual and not 
necessarily of Diamond Light Source Ltd. 

Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments 
are free from viruses and we cannot accept liability for any damage which you 
may sustain as a result of software viruses which may be transmitted in or with 
the message.

Diamond Light Source Limited (company no. 4375679). Registered in England and 
Wales with its registered office at Diamond House, Harwell Science and 
Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom

 







-- 
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.
inline: image001.png

Re: Dynamic selection of downstream jobs

2013-10-08 Thread Geoff Cummings
Hi,

Have you tried enabling concurrent builds of the downstream job so it can
do more than one build at a time?

You should check that the multiple builds of the same job don't interfere
with each other...

Geoff



On 8 Oct 2013, at 12:13, Moral alb.mora...@gmail.com wrote:

Hi All,

Our setup is:

Tomcat 7.0.32
Jenkins 1.518
Multijob Plug in 1.9

We have multiple jobs that call a single downstream job for generating code
from Matlab

The upstream job takes the generated code from the downstream job and
compile.

The relationship between upstream and downstream jobs is M:1.

In this setup if more then 1 upstream job is triggered only one can execute
the downstream job and the others shall wait.

I want to create more than 1 downstream job so the code generation can be
run in parallel for multiple upstream jobs.

To do that I need to be able to select dynamically at run time which
downstream jobs can be executed by the upstream jobs.

Something like (having two downstream jobs A and B) in each upstream job


if downstream job A is not running then

call the downstream job A


else if downstream job B is not running then

call the downstream job B


else

wait



Our questions are:

Is there a plug in or some strategy that can be used to achieved this?

Is there a way to check if a downstream job is already executing? In this
way I can use the test for implementing the logic described.

Thanks
'
Alberto



-- 
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: API-created jobs have missing Build Now link and don't run.

2013-10-08 Thread ashleycoker
A little background from above post:

I am using https://github.com/entagen/jenkins-build-per-branch  to make
Jenkins jobs according to GitHub branches - this uses the API to copy jobs
from a template (that I know builds and works fine) job.

I am using Jenkins V1.533.

Its not as though the job is broken, as a simple save in the configuration
in the web UI fixes the issue and the job can be built but as explained this
required manual intervention which obviously is not the purpose of the CI
server  ;-)



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/API-created-jobs-have-missing-Build-Now-link-and-don-t-run-tp3215035p4678612.html
Sent from the Jenkins users mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: /lastBuild in URL no longer working

2013-10-08 Thread Maciej Jaros

matthew.web...@diamond.ac.uk (2013-10-08 12:11):

Until fairly recently, we were able to use a URL of the form:
 jenkins:8080/job/jobname/lastBuild/console
Note the use of lastBuild to refer to the most recent build.

This stopped working recently for some jobs (you get a 404 if you go to the 
page) - but only for some; others jobs still work. I only became aware of this 
recently. There is nothing obviously different about the job that has the 
problem.
  
Has anyone else seen this? Issue https://issues.jenkins-ci.org/browse/JENKINS-14264 may be related, but is not the same.


Seem to work fine on stable (Jenkins ver. 1.509.3).

Regards,
Nux.

--
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: API-created jobs have missing Build Now link and don't run.

2013-10-08 Thread Ashley Coker
I had not heard of literate builds.
I can not find the plugin in Jenkins itself (not in search results).  Is
this it?:  https://wiki.jenkins-ci.org/display/JENKINS/Literate+Plugin
If so how do I add it?

If I use this, do new branches get triggered from GitHub when they are
created?  Also, what if a branch is already merged into master, will it be
picked up?

As for the https://github.com/entagen/jenkins-build-per-branch approach I
will have to take a look at the source code so that I can save the project
after it is copied.if I continue to use this approach!


Thanks for the help so far...  ;-)


On Tue, Oct 8, 2013 at 3:08 PM, Stephen Connolly 
stephen.alan.conno...@gmail.com wrote:

 When a job is initially created, Jenkins does a bit of jumping through
 hoops to set a flag that indicates don't build this job until it has been
 saved this is to support the use case of somebody copying a job and
 changing the scm to the new scm they want to build but finding that polling
 has triggered a build with the old scm while they were configuring the job.

 Thus all you need to do is trigger a save of the job after it has been
 created in order to clear the flag... (the hoops that jenkins jumps through
 is that it captures any save actions during the job creation and ignores
 them while another flag is set, so your save call will have to wait until
 those hoops have finished)

 OTOH have you considered literate builds which give you a very nice job
 per branch scheme that is IMHO exactly what people want!


 On 8 October 2013 15:00, ashleycoker ashley.co...@prowebsoftware.netwrote:

 A little background from above post:

 I am using https://github.com/entagen/jenkins-build-per-branch  to make
 Jenkins jobs according to GitHub branches - this uses the API to copy jobs
 from a template (that I know builds and works fine) job.

 I am using Jenkins V1.533.

 Its not as though the job is broken, as a simple save in the configuration
 in the web UI fixes the issue and the job can be built but as explained
 this
 required manual intervention which obviously is not the purpose of the CI
 server  ;-)



 --
 View this message in context:
 http://jenkins-ci.361315.n4.nabble.com/API-created-jobs-have-missing-Build-Now-link-and-don-t-run-tp3215035p4678612.html
 Sent from the Jenkins users mailing list archive at Nabble.com.

 --
 You received this message because you are subscribed to the Google Groups
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/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.




-- 
*Ashley Coker*
*w*: ProWebSoftware.Net
*e*: ashley.co...@prowebsoftware.net
*m*: 077382 64519

Unit 7, Fosters Business Park, Old School Road, Hook, Hampshire, RG27 9NY, UK
Tel: +44 (0)1189 353339  Web: www.prowebsoftware.net, (Company No. 6898498)

-- 
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: API-created jobs have missing Build Now link and don't run.

2013-10-08 Thread Stephen Connolly
right now the literate builds plugin is in the experimental update centre:
http://updates.jenkins-ci.org/experimental/

I have a few features to complete before it is safe to release the GitHub
SCM implementation I have (as until I finish those features pull requests
could be used as an attack vector, so right now it depends on polling of
git repositories... it's mostly lightweight (i.e. uses ls-remote to see if
there are changes worth sniffing out))

Once it sees a new branch it will pick up the new branch and create a
project on demand. When the branch is gone from upstream, then the dead
branch strategy you decide will come in and take effect (which could keep
it forever, a few days or a few most recent branches)


On 8 October 2013 15:29, Ashley Coker ashley.co...@prowebsoftware.netwrote:

 I had not heard of literate builds.
 I can not find the plugin in Jenkins itself (not in search results).  Is
 this it?:  https://wiki.jenkins-ci.org/display/JENKINS/Literate+Plugin
 If so how do I add it?

 If I use this, do new branches get triggered from GitHub when they are
 created?  Also, what if a branch is already merged into master, will it be
 picked up?

 As for the https://github.com/entagen/jenkins-build-per-branch approach I
 will have to take a look at the source code so that I can save the project
 after it is copied.if I continue to use this approach!


 Thanks for the help so far...  ;-)


 On Tue, Oct 8, 2013 at 3:08 PM, Stephen Connolly 
 stephen.alan.conno...@gmail.com wrote:

 When a job is initially created, Jenkins does a bit of jumping through
 hoops to set a flag that indicates don't build this job until it has been
 saved this is to support the use case of somebody copying a job and
 changing the scm to the new scm they want to build but finding that polling
 has triggered a build with the old scm while they were configuring the job.

 Thus all you need to do is trigger a save of the job after it has been
 created in order to clear the flag... (the hoops that jenkins jumps through
 is that it captures any save actions during the job creation and ignores
 them while another flag is set, so your save call will have to wait until
 those hoops have finished)

 OTOH have you considered literate builds which give you a very nice job
 per branch scheme that is IMHO exactly what people want!


 On 8 October 2013 15:00, ashleycoker ashley.co...@prowebsoftware.netwrote:

 A little background from above post:

 I am using https://github.com/entagen/jenkins-build-per-branch  to make
 Jenkins jobs according to GitHub branches - this uses the API to copy
 jobs
 from a template (that I know builds and works fine) job.

 I am using Jenkins V1.533.

 Its not as though the job is broken, as a simple save in the
 configuration
 in the web UI fixes the issue and the job can be built but as explained
 this
 required manual intervention which obviously is not the purpose of the CI
 server  ;-)



 --
 View this message in context:
 http://jenkins-ci.361315.n4.nabble.com/API-created-jobs-have-missing-Build-Now-link-and-don-t-run-tp3215035p4678612.html
 Sent from the Jenkins users mailing list archive at Nabble.com.

 --
 You received this message because you are subscribed to the Google
 Groups Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/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.




 --
 *Ashley Coker*
 *w*: ProWebSoftware.Net
 *e*: ashley.co...@prowebsoftware.net
 *m*: 077382 64519

 Unit 7, Fosters Business Park, Old School Road, Hook, Hampshire, RG27 9NY, UK
 Tel: +44 (0)1189 353339  Web: www.prowebsoftware.net, (Company No.
 6898498)

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


Change layout or add new field to project front page

2013-10-08 Thread Maximilian Morgalla
I'm looking for a way to display userfriendly information about builds in 
the front page of a project like the changelog and current requirements for 
a build. I'm either looking for a way to move the editable description 
field below the Permalinks or adding a new editable field below the 
Permalinks in which I can paste my html code. There is a huge whitespace 
and I would like to utilise it instead of making a website just for 
information on the builds.

-- 
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: SEVERE: Executor threw an exception

2013-10-08 Thread Brian J. Murrell

On 13-10-07 12:35 PM, Brian J. Murrell wrote:

I'm trying to get an instance of Jenkins 1.530+current versions of
plugins up and running but when I try to execute a multi-configuration
(a.k.a. matrix) job, the child jobs are failing with:

Triggering x86_64,el5
Triggering x86_64,el6.4
x86_64,el5 appears to be cancelled
x86_64,el5 completed with result ABORTED
x86_64,el6.4 appears to be cancelled
x86_64,el6.4 completed with result ABORTED


Just to update on this issue, I've updated Jenkins to 1.534 and the 
problem persists, unfortunately.


Any advise welcome.

Cheers,
b.


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


Jenkins and unitTH

2013-10-08 Thread Nordin, Lars P
I searched a bit but I haven't seen anything about integrating unitTH  and 
Jenkins for better junit reporting.
It seems that this should be possible even without a plugin (maybe).

Anyone tried integrating it or are there other plugins that provide this same 
functionality?


The information contained in this e-mail and in any attachments is intended 
only for the person or entity to which it is addressed and may contain 
confidential and/or privileged material. Any review, retransmission, 
dissemination or other use of, or taking of any action in reliance upon, this 
information by persons or entities other than the intended recipient is 
prohibited. This message has been scanned for known computer viruses.

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


Executor #0 for el6-builder1 is going to execute null

2013-10-08 Thread Brian J. Murrell

On 13-10-07 12:35 PM, Brian J. Murrell wrote:

I'm trying to get an instance of Jenkins 1.530+current versions of
plugins up and running but when I try to execute a multi-configuration
(a.k.a. matrix) job, the child jobs are failing with:

Triggering x86_64,el5
Triggering x86_64,el6.4
x86_64,el5 appears to be cancelled
x86_64,el5 completed with result ABORTED
x86_64,el6.4 appears to be cancelled
x86_64,el6.4 completed with result ABORTED


I cranked up the logging to all for this job and this is what I get in 
the log:



hudson.matrix.MatrixProject@2d51e30[foo] added to queue
Oct 08, 2013 10:51:02 AM FINE hudson.model.Queue
Queue maintenance started hudson.model.Queue@4a0b1960
Oct 08, 2013 10:51:02 AM FINE hudson.security.SidACL
hasPermission(org.acegisecurity.providers.UsernamePasswordAuthenticationToken@1f: 
Username: SYSTEM; Password: [PROTECTED]; Authenticated: false; Details: 
null; Not granted any authorities,Permission[class 
hudson.model.Computer,Build])=SYSTEM user has full access

Oct 08, 2013 10:51:02 AM FINE hudson.model.Executor
Executor #-1 for master grabbed 
hudson.model.queue.WorkUnit@19d9a49d[work=foo] from queue

Oct 08, 2013 10:51:02 AM FINE hudson.model.Executor
Executor #-1 for master is going to execute foo #1178
Oct 08, 2013 10:51:02 AM FINE hudson.model.Executor
Executor #-1 for master : executing foo #1178 is now executing foo #1178
Oct 08, 2013 10:51:02 AM FINE hudson.model.User
hudson.model.User$FullNameIdResolver@7a94f797 mapped brian to brian
Oct 08, 2013 10:51:02 AM FINE hudson.Proc
Running: /bin/bash -xe /tmp/hudson4186123015711034487.sh
Oct 08, 2013 10:51:02 AM FINE hudson.slaves.WorkspaceList
Executor #-1 for master : executing foo #1178 acquired 
/var/lib/jenkins/jobs/foo/workspace

Oct 08, 2013 10:51:02 AM FINE hudson.Proc
Running: git rev-parse --is-inside-work-tree
Oct 08, 2013 10:51:02 AM FINE hudson.Proc
Running: git config remote.origin.url 
ssh://hud...@review.example.com:29418/foo

Oct 08, 2013 10:51:02 AM FINE hudson.Proc
Running: git fetch -t origin +refs/heads/*:refs/remotes/origin/*
Oct 08, 2013 10:51:02 AM FINER hudson.security.HudsonFilter doFilter
ENTRY
Oct 08, 2013 10:51:02 AM FINER hudson.security.ChainedServletFilter doFilter
ENTRY
Oct 08, 2013 10:51:02 AM FINER hudson.security.SidACL
hasPermission(PrincipalSID:org.acegisecurity.userdetails.ldap.LdapUserDetailsImpl@56e6f983,Permission[class 
hudson.model.Hudson,Read])=true

Oct 08, 2013 10:51:02 AM FINE hudson.security.SidACL
hasPermission(org.acegisecurity.providers.UsernamePasswordAuthenticationToken@aa62cab2: 
Username: 
org.acegisecurity.userdetails.ldap.LdapUserDetailsImpl@56e6f983; 
Password: [PROTECTED]; Authenticated: true; Details: 
org.acegisecurity.ui.WebAuthenticationDetails@0: RemoteIpAddress: 
10.255.15.172; SessionId: d1418782f235664199628db1522a1bca; Granted 
Authorities: ROLE_IPAUSERS, authenticated, ipausers,Permission[class 
hudson.model.Hudson,Read])=true

Oct 08, 2013 10:51:02 AM FINER hudson.security.SidACL
hasPermission(PrincipalSID:org.acegisecurity.userdetails.ldap.LdapUserDetailsImpl@56e6f983,Permission[interface 
hudson.model.Item,Read])=true

Oct 08, 2013 10:51:02 AM FINE hudson.security.SidACL
hasPermission(org.acegisecurity.providers.UsernamePasswordAuthenticationToken@aa62cab2: 
Username: 
org.acegisecurity.userdetails.ldap.LdapUserDetailsImpl@56e6f983; 
Password: [PROTECTED]; Authenticated: true; Details: 
org.acegisecurity.ui.WebAuthenticationDetails@0: RemoteIpAddress: 
10.255.15.172; SessionId: d1418782f235664199628db1522a1bca; Granted 
Authorities: ROLE_IPAUSERS, authenticated, ipausers,Permission[interface 
hudson.model.Item,Read])=true

Oct 08, 2013 10:51:02 AM FINE hudson.model.Queue
Queue maintenance started hudson.model.Queue@4a0b1960
Oct 08, 2013 10:51:02 AM FINER hudson.security.SidACL
hasPermission(PrincipalSID:org.acegisecurity.userdetails.ldap.LdapUserDetailsImpl@56e6f983,Permission[interface 
hudson.model.Item,Build])=true

Oct 08, 2013 10:51:02 AM FINE hudson.security.SidACL
hasPermission(org.acegisecurity.providers.UsernamePasswordAuthenticationToken@aa62cab2: 
Username: 
org.acegisecurity.userdetails.ldap.LdapUserDetailsImpl@56e6f983; 
Password: [PROTECTED]; Authenticated: true; Details: 
org.acegisecurity.ui.WebAuthenticationDetails@0: RemoteIpAddress: 
10.255.15.172; SessionId: d1418782f235664199628db1522a1bca; Granted 
Authorities: ROLE_IPAUSERS, authenticated, ipausers,Permission[interface 
hudson.model.Item,Build])=true

Oct 08, 2013 10:51:02 AM FINER hudson.security.SidACL
hasPermission(PrincipalSID:org.acegisecurity.userdetails.ldap.LdapUserDetailsImpl@56e6f983,Permission[interface 
hudson.model.Item,Workspace])=true

Oct 08, 2013 10:51:02 AM FINE hudson.security.SidACL
hasPermission(org.acegisecurity.providers.UsernamePasswordAuthenticationToken@aa62cab2: 
Username: 
org.acegisecurity.userdetails.ldap.LdapUserDetailsImpl@56e6f983; 
Password: [PROTECTED]; Authenticated: true; Details: 
org.acegisecurity.ui.WebAuthenticationDetails@0: 

Re: ssh-agent plugin problems

2013-10-08 Thread Maciej Sawicki
On Tue, Oct 8, 2013 at 12:21 PM, Stephen Connolly
stephen.alan.conno...@gmail.com wrote:
 Suffice it to say that the key reported by ssh-add -l is the one injected by
 the ssh-agent that is held only by the credentials plugin as a direct-entry
 key (so it is not in a file or on a keychain anywhere)

 So this should work, out of the box, with OSX slaves unless you have mucked
 up your slave's shell environment or something

Thank you very much Stephen!
It works for me. On one slave - with OS X 10.7 - it worked out of the
box after plugin update. On second one I had to updated java to
1.7.0_40 and remove /opt/boxen/bin/java symlink. Using boxen on
slave wasn't best idea. I'm not sure which action exactly helped but
before doing it I have libc.dylib image not found error.

I have 2nd problem: We use git. In job config I see following error:

Failed to connect to repository : Command git ls-remote -h
g...@github.com:someOrganization/iOS.git HEAD returned status code
128:
stdout:
stderr: ERROR: Repository not found.
fatal: The remote end hung up unexpectedly

I believe this is is because jenkins master tries to checkout
repository during configuration and ssh-agent plugin is not used in
this phase.
it's not problem it self. Manually triggered build works perfectly.

The problem is that probably the same mechanism is used for git hooks.
I.e. when following url like this:
https://mycompany.pl/jenkins/git/notifyCommit?url=g...@github.com:someOrganization/iOS.git
is opened Jenkins master schedule job poling. It doesn't start job
unless it find changes. Unfortunately while using ssh-agent plugin I
have following error in polling log:

Git Polling Log

Started on Oct 8, 2013 8:17:11 PM
Polling SCM changes on orwell
Using strategy: Default
[poll] Last Built Revision: Revision somerevision (origin/master)
Fetching changes from the remote Git repositories
Fetching upstream changes from origin
ERROR: Problem fetching from origin / origin - could be unavailable.
Continuing anyway
hudson.plugins.git.GitException: Command git fetch -t origin
+refs/heads/*:refs/remotes/origin/* returned status code 128:
stdout:
stderr: ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:880)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:858)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:159)
at hudson.plugins.git.GitAPI.fetch(GitAPI.java:227)
at hudson.plugins.git.GitAPI.fetch(GitAPI.java:231)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:791)
at hudson.plugins.git.GitSCM.access$000(GitSCM.java:58)
at hudson.plugins.git.GitSCM$1.invoke(GitSCM.java:721)
at hudson.plugins.git.GitSCM$1.invoke(GitSCM.java:704)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2444)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
Polling for changes in
Done. Took 1.6 sec
No changes

I know fixing this will probably require some time, but I will really
appreciate it and I'm willing to help you as much as I can.

best regards,
Maciek Sawicki

-- 
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: ssh-agent plugin problems

2013-10-08 Thread Stephen Connolly
Hmmm that's an interesting case Though this should cease to be an issue
with the git 2.0 refactoring as it is credentials aware (that does give
other issues with non-private key auth and the non-jgit impl)

You could try git 2.0-beta-whatever from the experimental update center and
see if that fixes your issue

On Tuesday, 8 October 2013, Maciej Sawicki wrote:

 On Tue, Oct 8, 2013 at 12:21 PM, Stephen Connolly
 stephen.alan.conno...@gmail.com javascript:; wrote:
  Suffice it to say that the key reported by ssh-add -l is the one
 injected by
  the ssh-agent that is held only by the credentials plugin as a
 direct-entry
  key (so it is not in a file or on a keychain anywhere)
 
  So this should work, out of the box, with OSX slaves unless you have
 mucked
  up your slave's shell environment or something

 Thank you very much Stephen!
 It works for me. On one slave - with OS X 10.7 - it worked out of the
 box after plugin update. On second one I had to updated java to
 1.7.0_40 and remove /opt/boxen/bin/java symlink. Using boxen on
 slave wasn't best idea. I'm not sure which action exactly helped but
 before doing it I have libc.dylib image not found error.

 I have 2nd problem: We use git. In job config I see following error:

 Failed to connect to repository : Command git ls-remote -h
 g...@github.com:someOrganization/iOS.git HEAD returned status code
 128:
 stdout:
 stderr: ERROR: Repository not found.
 fatal: The remote end hung up unexpectedly

 I believe this is is because jenkins master tries to checkout
 repository during configuration and ssh-agent plugin is not used in
 this phase.
 it's not problem it self. Manually triggered build works perfectly.

 The problem is that probably the same mechanism is used for git hooks.
 I.e. when following url like this:

 https://mycompany.pl/jenkins/git/notifyCommit?url=g...@github.com:someOrganization/iOS.git
 is opened Jenkins master schedule job poling. It doesn't start job
 unless it find changes. Unfortunately while using ssh-agent plugin I
 have following error in polling log:

 Git Polling Log

 Started on Oct 8, 2013 8:17:11 PM
 Polling SCM changes on orwell
 Using strategy: Default
 [poll] Last Built Revision: Revision somerevision (origin/master)
 Fetching changes from the remote Git repositories
 Fetching upstream changes from origin
 ERROR: Problem fetching from origin / origin - could be unavailable.
 Continuing anyway
 hudson.plugins.git.GitException: Command git fetch -t origin
 +refs/heads/*:refs/remotes/origin/* returned status code 128:
 stdout:
 stderr: ERROR: Repository not found.
 fatal: Could not read from remote repository.

 Please make sure you have the correct access rights
 and the repository exists.

 at
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:880)
 at
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:858)
 at
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:159)
 at hudson.plugins.git.GitAPI.fetch(GitAPI.java:227)
 at hudson.plugins.git.GitAPI.fetch(GitAPI.java:231)
 at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:791)
 at hudson.plugins.git.GitSCM.access$000(GitSCM.java:58)
 at hudson.plugins.git.GitSCM$1.invoke(GitSCM.java:721)
 at hudson.plugins.git.GitSCM$1.invoke(GitSCM.java:704)
 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2444)
 at hudson.remoting.UserRequest.perform(UserRequest.java:118)
 at hudson.remoting.UserRequest.perform(UserRequest.java:48)
 at hudson.remoting.Request$2.run(Request.java:326)
 at
 hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
 at java.util.concurrent.FutureTask.run(FutureTask.java:262)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:724)
 Polling for changes in
 Done. Took 1.6 sec
 No changes

 I know fixing this will probably require some time, but I will really
 appreciate it and I'm willing to help you as much as I can.

 best regards,
 Maciek Sawicki

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



-- 
Sent from my phone

-- 
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: Change layout or add new field to project front page

2013-10-08 Thread oliver gondža

Hi,

hudson/model/AbstractProject/main.jelly includes file `jobMain.jelly` for  
all attached actions.


* This action can have optional ttjobMain.jelly/tt view, which will be
* aggregated into the main panel of the job top page. The jelly file
* should have an lt;h2 tag that shows the section title, followed by some
* block elements to render the details of the section.[2]

I used this in Job Parameter Summary Plugin.

[1]  
https://github.com/jenkinsci/jenkins/blob/dd6eab438f62313cc10278a59c7dace972bca433/core/src/main/resources/hudson/model/AbstractProject/main.jelly#L77
[2]  
https://github.com/jenkinsci/jenkins/blob/807e3c81d41c7d2d86bfa0469289e070fea42a6c/core/src/main/java/hudson/tasks/BuildStep.java#L132


HTH
--
oliver

--
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: apt-get install jenkins on Ubuntu giving '404 Not Found'

2013-10-08 Thread JonathanRRogers
Based on what you've said, a Debian binary package on the Jenkins web 
server was missing and now it exists. What do you need to work around?

On Monday, October 7, 2013 6:22:25 PM UTC-4, Cortez wrote:

 Ha, it's there now. I just managed to install it...

 Is there a workaround to avoid getting bitten by this?

 Chris

 On Monday, 7 October 2013 23:00:52 UTC+1, Cortez wrote:

 I am attempting to set up Jenkins on an Ubuntu Server 64-bit EC2 
 instance, using a simple bash script in a CloudFormation template. Using 
 apt-get I get the following error:

 Failed to fetch 
 http://pkg.jenkins-ci.org/debian/binary/jenkins_1.534_all.deb  404  Not 
 Found

 I followed the instructions found herehttp://pkg.jenkins-ci.org/debian/, 
 and this is the relevant portion of my script:

 wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | 
 apt-key add -
 echo deb http://pkg.jenkins-ci.org/debian binary/  
 /etc/apt/sources.list.d/jenkins.list
 apt-get update -y
 apt-get install jenkins

 Indeed at the time of writing the link to jenkins_1.534_all.deb on that 
 page shows a 'Not Found' error.

 Is there a fix for this?

 Thanks,
 Christopher



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


Groovy objects?

2013-10-08 Thread cscooper
I'm new to Groovy scripting in Jenkins and I'm not clear on what objects are
available.

For example, in my System Groovy Script I'm allowed to refer to
System.getenv() and Thread.currentThread() but what classes are the System
and Thread objects?  Where can I find documentation so I know what cool
things I can do?

Thanks,
Chris




--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/Groovy-objects-tp4678652.html
Sent from the Jenkins users mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


LTS 1.509.3 -- Bad Fingerprint Invasion

2013-10-08 Thread jieryn
bash$ find /var/lib/jenkins/fingerprints/ -type f | while read fp ; do
xmllint --format $fp /dev/null ; if [[ $? == 1 ]] ; then echo
stupid $fp ; rm $fp ; fi ; done

Why do I have to do this? This seems like a huge failure. Not sure how
this got to LTS..

-- 
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: Groovy objects?

2013-10-08 Thread Samuli Saarinen
Hi, 

AFAIK you have access to the whole JVM and you can do pretty much anything. As 
for your examples just give it a try. java.lang.* is automatically imported so 
you could eg. run the following script:
println(getenv:  + System.getenv())
println(current thread:  + Thread.currentThread())

For further Groovy reference see http://groovy.codehaus.org/Home

BR,
Samuli


-Original Message-
From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of cscooper
Sent: 9. lokakuuta 2013 1:36
To: jenkinsci-users@googlegroups.com
Subject: Groovy objects?

I'm new to Groovy scripting in Jenkins and I'm not clear on what objects are 
available.

For example, in my System Groovy Script I'm allowed to refer to
System.getenv() and Thread.currentThread() but what classes are the System and 
Thread objects?  Where can I find documentation so I know what cool things I 
can do?

Thanks,
Chris




--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/Groovy-objects-tp4678652.html
Sent from the Jenkins users mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/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: request on Jenkins error for time stamp

2013-10-08 Thread bala nageswar Chadalavada
Thanks Matthew,

No all are ON demand build Jobs only.so at a time its not possible .

So ,if i want to do an UPGRADING .i am using RHEL 4.0 Linux Server for
jenkins installed.

what are the Options for upgrading...and if we are using any LDAP
Authentication and Existing Jobs to be present after installing new version
of Jenkins.

Steps to be followed for upgrading new version

Please let me know

thanks
Bala



On Tue, Oct 8, 2013 at 6:27 PM, matthew.web...@diamond.ac.uk wrote:

  Maybe the jobs all ran 50 minutes ago? Are you saying that they didn’t?**
 **

 By the way, that’s a very old Jenkins release, older than the current long
 term support release, you might want to consider upgrading.

 ** **

 *From:* jenkinsci-users@googlegroups.com [mailto:
 jenkinsci-users@googlegroups.com] *On Behalf Of *bala nageswar Chadalavada
 *Sent:* 08 October 2013 12:30
 *To:* jenkinsci-users@googlegroups.com
 *Subject:* request on Jenkins error for time stamp

 ** **

 hi.

 ** **

 i am getting the same time for all the jobs i created in JENKINS

 ** **

 What would be the reason is

 Verison im using is Jenkins ver. 1.494 http://jenkins-ci.org/

 ** **

 ** **

 [image: Inline image 1]
 

 ** **

 --
 Bala.ch 

 --

 



 --

 This e-mail and any attachments may contain confidential, copyright and or
 privileged material, and are for the use of the intended addressee only. If
 you are not the intended addressee or an authorised recipient of the
 addressee please notify us of receipt by returning the e-mail and do not
 use, copy, retain, distribute or disclose the information in or attached to
 the e-mail.
 Any opinions expressed within this e-mail are those of the individual and
 not necessarily of Diamond Light Source Ltd.
 Diamond Light Source Ltd. cannot guarantee that this e-mail or any
 attachments are free from viruses and we cannot accept liability for any
 damage which you may sustain as a result of software viruses which may be
 transmitted in or with the message.
 Diamond Light Source Limited (company no. 4375679). Registered in England
 and Wales with its registered office at Diamond House, Harwell Science and
 Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom


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




-- 
Bala.ch

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

Re: LTS 1.509.3 -- Bad Fingerprint Invasion

2013-10-08 Thread Daniel Beck
It looks like you're referring to 
https://issues.jenkins-ci.org/browse/JENKINS-19515 which will be fixed in 
1.509.4. There's already an RC, so you could try upgrading.

Did you test the 1.509.3 RC when it was available for almost four weeks before 
the final version was released?

On 09.10.2013, at 04:21, jieryn jie...@gmail.com wrote:

 bash$ find /var/lib/jenkins/fingerprints/ -type f | while read fp ; do
 xmllint --format $fp /dev/null ; if [[ $? == 1 ]] ; then echo
 stupid $fp ; rm $fp ; fi ; done
 
 Why do I have to do this? This seems like a huge failure. Not sure how
 this got to LTS..
 
 -- 
 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.


[Help!] HP Automation tools plugin issue for UFT

2013-10-08 Thread cecilia qi


We are working on Jenkins with HP Automation tools plugin, and I have an 
issue about it during working, many thanks if you could help me:

*I installed Jenkins and HP Automation tools plugin in my laptop to invoke 
UFT 11.52 to run automation cases, while the cases are for mobile platform, 
so UFT should load mobile add-in (the add-in is called Perfecto) to run the 
cases . *

*Now the issue is: when UFT is invoked from Jenkins, UFT will not load this 
mobile add-in, so the run failed.*

Appreciate your help! Thanks very much.

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