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 jobs
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, Daniel
ode 143
>
>
>
>
>
>
>
> *From:* jenkins...@googlegroups.com [mailto:
> 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
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 unab
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 11:0
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 1
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 J
enstack.org/infra/jenkins-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 tes
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 c
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/) a
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:
>
> Cau
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:
>
> Than
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 multi
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 shou
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
> w
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 s
I don't think Pulkit needs a high availablility solution to solve his use
case especially if he anticipates that it doesn't happen that often. One
thing that can be done is to save and version the Jenkins configuration and
jobs in SCM then load them to the secondary Jenkins only when needed the
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:
>
> th
ed. You can probably just use 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
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
JAVA.
>
> Also 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 >
> wrote:
>
>> Could you be more specific? Do you mean create a new account? set
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
t
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,
We use the jenkins job builder
(https://pypi.python.org/pypi/jenkins-job-builder) to manage jenkins jobs.
It supports yaml and can parse json as well so you can create your jobs in
either and have it create the jobs for you. Most of the examples in
documentation are in yaml but json will work
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
th
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 B
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 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 becau
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, ssuther...@gma
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 the
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, Th
We use the Jenkins gearman plugin
(https://wiki.jenkins-ci.org/display/JENKINS/Gearman+Plugin) to run jenkins
in a multi master configuration. That plugin is open source so no need to
buy cloudbees solution.
--
You received this message because you are subscribed to the Google Groups
"Jenki
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, se
34 matches
Mail list logo