Re: Pipeline: coordinating parallel steps on multiple nodes (server on one node, client on another)

2017-07-31 Thread Sam K
Well, you can try it yourself. Apply a generic label on more than one node, run a pipeline and print hostname in different stage/node blocks and see if its the same throughout the pipeline. Alternatively, if you can use a shared folder between the slaves that might help as well. I'm

Re: Pipeline: coordinating parallel steps on multiple nodes (server on one node, client on another)

2017-07-31 Thread Mark
Hi Sam, Well, I couldn't see it documented anywhere that the originally allocated node would be reused for subsequent node blocks with the same label, so I assumed any specific behavior wasn't guaranteed. That's interesting what you observed. I wonder if a Jenkins developer could comment on

Re: QUESTION: If you found the Checkpoint plugin an interesting one, may I ask you to vote the below jira ticket?

2017-07-31 Thread Sam K
Yes, i care about this very much and I voted. thanks. On Friday, July 28, 2017 at 3:52:44 AM UTC-7, Victor Martinez wrote: > > Hi guys, > > If you use Pipelines maybe you are interested about this thread. > > Please forgive me if this is not the right channel to ask for voting a > particular

Re: Cannot upgrade git plugin beyond 3.3.0

2017-07-31 Thread Sam K
Thanks. Not sure if that will help me though as my slaves are all linux slaves. Besides, I do believe disconnecting and reconnecting did install a newer slave.jar for me as is evident by its timestamp. [user@10.0.0.71 jenkins20]$ ls -lrt total 181912 drwxrwxr-x. 4 support support38

Re: Jenkins deployment of a particular build through code

2017-07-31 Thread Sam K
Hi I'm not saying this is the best way... You can add the feature to kick off jobs remotely using a token. Then you can somehow grab the parameters of the job. For example, if user clicks on job no. 6, then this URL gives you the parameters. With wget/curl magic, I'm sure you can get

Re: Cannot upgrade git plugin beyond 3.3.0

2017-07-31 Thread Mark Waite
Yes, he downloaded the latest version of slave.jar from his Jenkins server. Refer to https://issues.jenkins-ci.org/browse/JENKINS-45352 for the details of his investigation. Mark Waite On Mon, Jul 31, 2017 at 2:39 PM Sreeram Krishna wrote: > Thomas, did you delete the

Re: Pipeline: coordinating parallel steps on multiple nodes (server on one node, client on another)

2017-07-31 Thread Sam K
Hi yes, naming them specifically is very limiting. But my latest iterations of pipelines, I have to do that as I'm using one of the slaves as a apache host to serve logs on it as well. Anyways, before I did that, I had 2 slaves and had a common label on them called 'jenkins-slave' and in

Re: Pipeline: coordinating parallel steps on multiple nodes (server on one node, client on another)

2017-07-31 Thread Mark
I'm attaching an edited/sanitized version of my Groovy pipeline. It's not the same as my pseudocode ideal in my previous post (e.g. the windows build/run server steps are not parallel to the linux checkouts). Again, thanks for your help. On Monday, July 31, 2017 at 3:26:09 PM UTC-5, Mark

Re: Cannot upgrade git plugin beyond 3.3.0

2017-07-31 Thread Sreeram Krishna
Thomas, did you delete the slave.jar and let Jenkins download a new one to the slave and reconnect? I tried disconnecting and reconnecting the slave, but did not try what you did. On Mon, Jul 31, 2017 at 1:33 PM, 'Thomas Gimpel' via Jenkins Users < jenkinsci-users@googlegroups.com> wrote: > I

Re: Pipeline: coordinating parallel steps on multiple nodes (server on one node, client on another)

2017-07-31 Thread Mark
Thanks, Sam. First, I should have stated that I'm using a Groovy pipeline. I'm not entirely certain whether I've stayed within the limits of a declarative pipeline, or I've moved into a scripted pipeline at this point. I was hoping to avoid pegging jobs to particular nodes within the pipeline

Re: Pipeline: coordinating parallel steps on multiple nodes (server on one node, client on another)

2017-07-31 Thread Alex Marcon
Maybe this helps https://www.cloudbees.com/blog/parallelism-and-distributed-builds-jenkins On Monday, 31 July 2017 14:49:16 UTC-4, Sam K wrote: > > I don't have all the answers, but most are embedded. Firstly are you > using the freestyle jobs or declarative groovy pipeline jobs? > > On

Re: Cannot upgrade git plugin beyond 3.3.0

2017-07-31 Thread Stephen Connolly
So you are using the SCM side of the plugin not the SCMSource side of the plugin. There should be zero changes on the SCM side between 3.3.0 and 3.4.0 as the only changes were on SCMSource... seems very strange On Mon 31 Jul 2017 at 19:29, Sam K wrote: > Hi > > This is

Re: How to export data of successfull build to excel

2017-07-31 Thread Richard Ginga
As I remember, we wrote a perl script to append a line containing dozens of step timings from out builds to the end of the file. but this should work: echo "$OWNER, $TASK, 100" >> some-network-path/Test.dat On Mon, Jul 31, 2017 at 2:52 PM, wrote: > And how are you

Re: How to integrate Karma and jasmine with jenkins for CI-CD. I have nodejs-plugin installed in my jenkins instance.

2017-07-31 Thread Sam K
Its right here man. http://karma-runner.github.io/0.8/intro/installation.html On Monday, July 31, 2017 at 6:57:00 AM UTC-7, Abhishekkumar Srivastava wrote: > > I am referring this post. Karma-Jenkins CI > .It says > you need to

Re: How to integrate Karma and jasmine with jenkins for CI-CD. I have nodejs-plugin installed in my jenkins instance.

2017-07-31 Thread Sam K
It asks for karma to be installed on the same server as jenkins. So, just use yum/apt-get/whatever to install karma if package is available. Else, download from karma's website for your OS and modify the conf file as suggested. On Monday, July 31, 2017 at 6:57:00 AM UTC-7, Abhishekkumar

Re: Pipeline: coordinating parallel steps on multiple nodes (server on one node, client on another)

2017-07-31 Thread Sam K
I don't have all the answers, but most are embedded. Firstly are you using the freestyle jobs or declarative groovy pipeline jobs? On Monday, July 31, 2017 at 9:53:43 AM UTC-7, Mark wrote: > > Hi. Hoping someone here might be able to help or point me in the right > direction. I've been

Re: Q: How to choose nodes for build based on parameter?

2017-07-31 Thread Jérôme Godbout
If you need to target a specific node, which label match and others node also match I don't think this is possible, jenkins master take whatever node that match as he please (a priority number or rules would be great). You would need a specific label on each and target that specific label. Maybe

Re: Q: How to choose nodes for build based on parameter?

2017-07-31 Thread Sam K
As far as I know, this is not possible. I would very much like this feature as well. one example is that I can simply put a label on all the interested nodes and run a jenkins job that will go to each node and do a disk space check on them. Is that something along what you're trying to do?

Cannot upgrade git plugin beyond 3.3.0

2017-07-31 Thread Sam K
Hi This is at least the second time I'm facing this issue. When i updated core Jenkins from 2.47 to 2.58 and now from 2.58 to 2.71. I cannot upgrade git plugin beyond 3.3.0. BTW, what is the difference between git client plugin and git plugin? Do I need both? Is one for the

Re: Q: How to choose nodes for build based on parameter?

2017-07-31 Thread jerome
Check for choice parameters plugins like: https://wiki.jenkins.io/display/JENKINS/Extensible+Choice+Parameter+plugin there also a validation plugins if you allow

Pipeline: coordinating parallel steps on multiple nodes (server on one node, client on another)

2017-07-31 Thread Mark
Hi. Hoping someone here might be able to help or point me in the right direction. I've been reading docs for many hours, and I can't find any examples similar to what I'm trying to do. Here's what I want to do at a high level: I have multiple nodes, some have the "windows" label, others the

Re: Q: How to choose nodes for build based on parameter?

2017-07-31 Thread linux.il
Mark, thank you! As far as I remember, I already have this plugin and played with its options. It does allow choose some nodes, but I prefer to choose by label. I.e., if I choose "X" label, job will executed on all slaves which have this label. On Mon, Jul 31, 2017 at 6:06 PM, Mark Waite

Re: Q: How to choose nodes for build based on parameter?

2017-07-31 Thread Mark Waite
Have you checked the node label parameter plugin? It seems like it matches what you need. If you need the matrix job to run on all agents which match a label, then you want the elastic axis plugin. Pipeline can handle that case as well. Mark Waite On Mon, Jul 31, 2017, 7:28 AM Vitaly Karasik

Re: How to export data of successfull build to excel

2017-07-31 Thread Richard Ginga
i did something similar to gather build time info and it was simply to append to some accessible .csv file in a shell or batch script :) On Mon, Jul 31, 2017 at 10:47 AM, wrote: > Hello, > > I wanted to know whether it is possible to export certain data from > jenkins

How to export data of successfull build to excel

2017-07-31 Thread dursun . julide
Hello, I wanted to know whether it is possible to export certain data from jenkins to excel when a build is successful. The excel data is saved in a specific directory and has 3 columns. The email-adress (column 1) of the owner of the successful build, the name of the task (column 2) and 100

Q: How to choose nodes for build based on parameter?

2017-07-31 Thread Vitaly Karasik
I have a few Jenkins slaves, some of them are labeled by "X", and others with "Y" label. I'd like to choose group of slaves, based on their label, when I starting this job. I can use "Label" as a parameter for parametrized build, but it's providing only default value, and not list of values.

Re: Remote Access API - REST API in Jenkins

2017-07-31 Thread Michael Pailloncy
The "mode" parameter is expected here since you are triggering a job copy instead of a job creation (it's the same API endpoint, it differs only with the number/kind of parameters). To trigger a job creation, you need something like : curl -v -XPOST 'http:// :/createItem?name=bimbilimbimbim'