An option you might like to explore is to use python-jenkins. We use it to
automate folder and job creation. Doc is here:
https://python-jenkins.readthedocs.org/en/latest/examples.html#example-7-working-with-jenkins-cloudbees-folders
On Thursday, August 20, 2015 at 12:22:19 PM UTC-7,
another option to batch modify tons of jobs is to use the
jenkins-job-builder
(http://docs.openstack.org/infra/jenkins-job-builder/index.html). tons of
examples in the doc as well.
On Thursday, December 10, 2015 at 8:16:53 AM UTC-8, Victor Martinez wrote:
>
> You can 'easily' modify your
:
> jenkins...@googlegroups.com ] *On Behalf Of *Chanda Unmack
> *Sent:* Monday, August 17, 2015 1:56 PM
> *To:* jenkins...@googlegroups.com
> *Subject:* Re: Having one slave attached to 2 different masters ?
>
>
>
> We've done that with both ssh slaves and windows slaves
The maintainer hasn't created a new release in a while. It's only
available on master branch so you'll need to clone it from the repo and
build it yourself.
On Monday, September 28, 2015 at 2:59:20 AM UTC-7, Akash Gangil wrote:
>
> Hi,
>
> I am using Jenkins SCP plugin v1.8. However, I am
the python-jenkins[1] app has a convenient get_running_builds() [2] method
that can retrieve this type of info.
[1] https://pypi.python.org/pypi/python-jenkins
[2]
https://python-jenkins.readthedocs.org/en/latest/api.html#jenkins.Jenkins.get_running_builds
On Friday, September 5, 2014 at
I don't know of a way to modify a build once it's been queued. When we
need to update params we usually just abort the queued job then start a new
one with the updated parameter. Use use the python-jenkins library to help
us do that. Hope that helps.
On Friday, September 18, 2015 at
Answers to your questions..
> When a repo needs testing, does it always go through the job generator
> before going through the generated jobs every single time?
>
You can set it up to update jobs only when there are changes to the JJB
definition files. For example we use puppet to monitor
-job-builder/quick-start.html
On Monday, August 31, 2015 at 9:43:31 AM UTC-7, milki milk wrote:
>
>
> On Monday, August 31, 2015 at 9:11:54 AM UTC-7, Khai Do wrote:
>>
>> Answers to your questions..
>>
>>
>>> When a repo needs testing, does it always go t
/
On Monday, August 31, 2015 at 10:50:59 AM UTC-7, milki milk wrote:
>
> On Monday, August 31, 2015 at 10:27:11 AM UTC-7, Khai Do wrote:
>>
>> Yes, your general assessment is correct. You can, but do NOT necessarily
>> need to use the jenkins DSL plugin to generate jobs since
If you don't mind using Python, both the python-jenkins and jenkinsapi
packages can do this for you pretty easily. Both are wrappers around the
Jenkins REST api so basically exactly what you are trying to do with curl.
On Thursday, August 20, 2015 at 9:28:57 AM UTC-7, Greg Nifor wrote:
We are working to add cloudbees folder support to the python-jenkins
package (https://python-jenkins.readthedocs.org/en/latest/) that will
allow you to automate management (create/update/move/etc..) of folders.
The change is under review right now
(https://review.openstack.org/#/c/180185/)
Pulkit, Another option that might work for you is having multiple jenkins
masters. Take a look at the gearman plugin, it might help you with your
use case: https://wiki.jenkins-ci.org/display/JENKINS/Gearman+Plugin
On Wednesday, August 19, 2015 at 6:33:52 PM UTC-7, Pulkit Lall wrote:
Do you mean create new user accounts? I'm not sure there's even an
automated way to do that. If I'm wrong I would love to know how to just
automate creating a single user in Jenkins.
On Wednesday, August 12, 2015 at 7:27:28 PM UTC-7, mpc8250 wrote:
Hi All
Is there a way to add multiple
we do it with option #3 except instead of groovy we just use a simple bash
script which is nice because every real system pretty much has bash.
On Thursday, August 13, 2015 at 12:37:08 AM UTC-7, Brantone wrote:
For the time being I ended up going with #1 using workspace.channel, as it
was
Yes, we do that with ssh connected slaves. if what you are really after is
multi-master configuration you should check out the gearman
plugin: https://wiki.jenkins-ci.org/display/JENKINS/Gearman+Plugin
On Thursday, August 13, 2015 at 12:09:50 AM UTC-7, Björn Pedersen wrote:
Hi,
it should
We use the scp plugin for this use case,
https://wiki.jenkins-ci.org/display/JENKINS/SCP+plugin
The plugin has some bugs in the last release and the maintainer hasn't
released a new version for a while so you should use the latest from master
which means you'll need to build from source. Just
If you are interested in an alternative tool, we use python-jenkins
(https://pypi.python.org/pypi/python-jenkins) to add jobs to jenkins and
that does work with the Prevent Cross Site Request Forgery exploits
feature.
On Tuesday, August 4, 2015 at 3:06:16 PM UTC-7, James Nord wrote:
the
It's http://host/computer/api/json or you can use one of the libraries like
python-jenkins and there's a get_nodes() method that will also retrieve
that info.
On Tuesday, August 4, 2015 at 6:12:46 PM UTC-7, Eric Wang wrote:
I second this question!
On Friday, April 3, 2015 at 5:09:23 AM
the
get_nodes() method to retrieve all the slave names and then iterate over
the slaves and call the get_node_config() method to retrieve the ip address
for each node. Hope that helps.
On Friday, August 7, 2015 at 8:30:37 AM UTC-7, Khai Do wrote:
It's http://host/computer/api/json or you
please feel free to answer on allowing certain accounts access to
jobs, that would be really helpful
Thanks!
On Sat, Aug 1, 2015 at 10:14 AM, Khai Do do@gmail.com javascript:
wrote:
Could you be more specific? Do you mean create a new account? set an
account password? Or allow certain
How about save environment variable out to file then use env inject plugin to
load it in downstream jenvironment
--
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
Could you be more specific? Do you mean create a new account? set an account
password? Or allow certain accounts access to jobs?
--
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,
There are lots of suggestions to this topic in
thread https://groups.google.com/d/msg/jenkinsci-users/OnKpb4Iu0YY/1y_jH3-FVcQJ
--
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,
Can you tell if this is a problem with your jenkins setup or is it a
problem with jenkinsapi?
We use python-jenkins (https://pypi.python.org/pypi/python-jenkins) and
have not experienced this issue, so you might want to give that one a try.
On Thursday, July 9, 2015 at 11:34:49 PM UTC-7,
We use the python-jenkins (https://pypi.python.org/pypi/python-jenkins)
library to access build info, the output is in json. It's open source
(apache license) so you can just extend it to grab additional meta data
about each build.
On Tuesday, June 23, 2015 at 3:51:54 PM UTC-7,
Yes, we use it and it's been working pretty well for us. Do you have a
specific question?
On Monday, June 15, 2015 at 6:44:48 AM UTC-7, Subbu wrote:
Hi Group,
Has anyone used Jenkins Gearman plug-in for Multi master deployments?
Any pointers are appreciated
Thanks,
Subbu
--
You
We use the python-jenkins (https://pypi.python.org/pypi/python-jenkins)
library to automate our builds. It can do what you want and it's a lot
easier than using the REST APIs directly. Take a look at the example and
build_job() method.
On Wednesday, June 10, 2015 at 7:11:24 AM UTC-7, Alex
You may want to take a look at the jenkins-job-builder
(https://pypi.python.org/pypi/jenkins-job-builder) project. It's
specifically designed to simply your task. We use it to manage ~6000 jobs.
Many of them have similar patterns just like your use case.
--
You received this message
We use python-jenkins (https://pypi.python.org/pypi/python-jenkins) to
automate our jenkins. it supports management of jobs, builds and views so
I think it might be useful for you to take a look at that library. I'm
thinking you might be able to use it as a helper to slap together a script
We use the python-jenkins (https://pypi.python.org/pypi/python-jenkins)
library to get node and job info. Take a look at the get_nodes(),
get_node_config() and get_node_info() methods.
On Thursday, June 25, 2015 at 10:27:45 PM UTC-7, Heinonen, Antti wrote:
Hi,
Can anybody recommend
We automate and replicate jenkins jobs by using the jenkins-job-builder
(https://pypi.python.org/pypi/jenkins-job-builder). I'm not sure there's a
good solution to automating and replicating jenkins plugins. I think the
only thing you can do is to copy the all of the *.hpi files, these are
31 matches
Mail list logo