Jenkins API Documentation

2018-08-03 Thread Danny Staple
The "REST" read only parts of the Jenkins HTTP API documentation (https://wiki.jenkins.io/display/JENKINS/Remote+access+API) are usable, but altering states, making changes other than triggering a build seem to be missing. There appear to be HTTP API endpoints for automated interactions and I'v

Getting further logging from slaves

2013-07-15 Thread Danny Staple
We have a problem with our windows slaves, where they will have a read timed out error, fail, and the jobs running from them show a connection reset by peer error on the master. We'd like to find out why the servers are having read time outs - or if some other thread has failed in them first.

Re: Parameterized Build - Build Queue Display of parameters?

2013-05-28 Thread Danny Staple
Martin, I now have new info on this. This is available inside the REST API. If you go to : /queue/api/xml Then you are able to see/query the params of queued jobs. You can also use the json/python data here. Danny On Wednesday, 13 July 2011 15:35:55 UTC+1, Martin B. wrote: > > When I use the

Re: How to copy artifacts back to workspaces of upstream job?

2012-03-19 Thread Danny Staple
First - you'd probably want to redirect output to other files - very large console logs come with problems. Second - the use of wait (on Unix) should prevent process leaks. Wait is documented in the bash manual. Thanks, Danny On Monday, 19 March 2012 08:46:34 UTC, intelchen wrote: > > > If

Re: How to copy artifacts back to workspaces of upstream job?

2012-03-19 Thread danny staple
product. It would be 10branches*40(jobs/product)=400jobs.. > And also we could not find all analyze reports in a single job/workspace. > We have to observe them in every specify analyze job. > > > Brs, > Bill > > On Monday, March 19, 2012 4:39:56 AM UTC+8, Danny Staple wrote:

Re: jobs disappeared (Possibly config.xml corrupted )

2012-03-18 Thread Danny Staple
Did these two different jenkins/hudson instances run on the same path simultaneously? I can see how this could cause some very, very odd behaviour. I'd start by bringing both down, then starting only one. If it is still broken, do you have backups? Perhaps one feature - a lock file can prevent

Re: How to copy artifacts back to workspaces of upstream job?

2012-03-18 Thread Danny Staple
I suspect the answer here may be to run the child jobs in a build step, while the parent job waits, and then gravs the downstream jobs artifacts via url. The cli can be used for synchronous job runs, and with a newer jenkins you may even be able to use the SSH system to do it (saves grabbing a

Re: Getting files from workspace via URL during a build

2012-03-15 Thread danny staple
this job, so the job can > roam to available resources. > > If that's what you want: > - your URL will then be > http:// > [yourserver:some_port]/job/[JOB_NAME]/lastSuccessfulBuild/artifact/[path_to_artifact]/[file_name] > > The bracketed part has to be replaced with your da

Getting files from workspace via URL during a build

2012-03-14 Thread Danny Staple
We have a scenario here where: * A tool on a service can be started via a URL, and one of its parameters is a URl for it to collect a source file from. * We would like to use this tool in a job, such that we create the source for the tool, then want to start the tool above with a file in our wor

Re: Handing off builds between Jenkins masters

2012-03-03 Thread danny staple
;ve thought of a few ways to handle this (the Jenkins CLI immediately > comes to mind), but wanted to know if there was a cleaner implementation > that could make this happen. > > > > Thanks! > > > > -Jim > > > > -- Danny Staple Director, ODM Solutions Ltd w: http://www.odmsolutions.co.uk Blog: http://orionrobots.co.uk/blog1-Danny-Staple

Re: anonymous disables jobs

2012-02-27 Thread danny staple
. I didn't notice this until polling occurs, and now I have a whole > bunch of disabled jobs. > > > > -- > View this message in context: > http://jenkins.361315.n4.nabble.com/anonymous-disables-jobs-tp4417803p4425897.html > Sent from the Jenkins users mailing list archive a

Re: Git+Gitolite+Jenkins

2012-02-27 Thread danny staple
ssee 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 > Have you got ssh key access set up? -- Danny Staple Director, ODM Solutions Ltd w: http://www.odmsolutions.co.uk Blog: http://orionrobots.co.uk/blog1-Danny-Staple

Re: non-recursively checkout out an svn tree

2012-02-22 Thread danny staple
ry 2012 13:59, Chris Withers wrote: > On 22/02/2012 10:46, danny staple wrote: > >> Can you use the "included regions" setting on the subversion config >> > > Which subversion config are you referring to? > > cheers, > > > Chris > >

Re: older format and/or unreadable data

2012-02-22 Thread danny staple
gt; Mete > > I've seen it when we've configured a plugin that is now disabled. The > data is still in config.xml but has no purpose without the plugin. > > If I remember correctly, 'manage' just deletes the keys that have no > purpose in the current co

Re: non-recursively checkout out an svn tree

2012-02-22 Thread danny staple
for changes? >>> >> >> https://issues.jenkins-ci.org/**browse/JENKINS-777<https://issues.jenkins-ci.org/browse/JENKINS-777> >> > > Damn. Any likelihood of that bug being moved forward any time soon? > > > Chris > > -- > Simplistix - Conten

Re: Jenkins and Code Contracts/Design by Contract

2012-02-18 Thread danny staple
: > Hi, > > Does anyone know if it is possible to utilize Design by Contract or Code > Contracts in the Jenkins environment? > > Thanks, > > Scott Kuntz > Quicken Loans > -- Danny Staple Director, ODM Solutions Ltd w: http://www.odmsolutions.co.uk Blog: http:/

Re: Jenkins running Python website functional tests

2012-02-18 Thread danny staple
uestions. > 1. Can Jenkins be used like this to run python scripts that launch > firefox and testng return results. > > 2. Assuming answer to question one is yes, What do I need to do to > get the jenkins account to find and use the same lib's the rest of the > system can

Re: buildResultTrigger-polling

2012-02-17 Thread danny staple
Jenkins can be running many simultaneous subprocesses each of which consume a few filehandles. We started seeing messages like this, and used a 2 pronged method. First we used ulimit settings to double the allowable open filehandles, then we switched many tasks from shell scripts to other tools tha

Re: Jenkins CLI login problem

2012-02-15 Thread danny staple
oolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:619) > > Thanks. > > Yours truly > Lestin Liu > -- Danny Staple Director, ODM Solutions Ltd w: http://www.odmsolutions.co.uk Blog: http://orionrobots.co.uk/blog1-Danny-Staple