Even after stopping windows JNLP slave agent service, slave(node) is connected to master node, How and Why?

2016-04-04 Thread Swapnil Kotwal
Hey Guys, We have a Jenkins ver. 1.652 version installed and automatic JNLP slave agent service was down still that node was connected. Is this enhancement keeping slaves up and running ? https://jenkins.io/changelog/ 1.553 (2014/03/02) “Slave started from Java Web

Re: What is the best way to download all the Jenkins plugins along with their dependencies?

2016-04-04 Thread Mark Waite
My apologies. I was wrong. It appears that the Jenkins command line interface in the 1.642.4 version does not automatically resolve dependencies (or at least it did not work for me). I think that was the key problem you were trying to solve, so the command line interface won't help. $ java

Re: What is the best way to download all the Jenkins plugins along with their dependencies?

2016-04-04 Thread Indra Gunawan (ingunawa)
Argument "SOURCE" is required java -jar jenkins-cli.jar install-plugin SOURCE ... [-deploy] [-name VAL] [-restart] [--username VAL] [--password VAL] [--password-file VAL] Installs a plugin either from a file, an URL, or from update center. SOURCE : If this points to a local file,

Re: Protecting Jenkins from its own pipelines and jobs

2016-04-04 Thread Daniel Beck
On 04.04.2016, at 19:19, Jesse Glick wrote: > If you have any executors configured on your master, your system is insecure. > Set it to zero and use agents exclusively. Also mentioned on https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Best+Practices as the second

Re: How to bring up VM's using Jenkins?

2016-04-04 Thread Michael Neale
There are many ways to "skin this cat" so to speak - various cloud plugins, or things like docker can do this. If you are thinking vagrant and VMs on demand, docker pipeline or one of the docker plugins could help with this (as it can quickly create containers as needed, but for the cost of

Re: simple build (DSL) for pipeline plugin

2016-04-04 Thread Michael Neale
Good question, no not sure off the top of my head. I know Jesse identified a problem recently with checkpoints (and unrelated feature, but touches on save program I believe). On Monday, April 4, 2016 at 11:29:51 PM UTC+10, Martin d'Anjou wrote: > > I have written enough code to occasionally

Re: How to export the changes accepted in jenkins rtc build

2016-04-04 Thread Dani Chelios
Any news about this? On Tuesday, June 2, 2015 at 5:55:35 PM UTC-5, Pravin Patil wrote: > > I have RTCv5.0.2 integrated with Jenkinsv1.6.12 for continuous build. > > After a build (no matter successful or unsuccessful build) Jenkins > displays very nicely the CHANGES that went into the build.

Re: What is the best way to download all the Jenkins plugins along with their dependencies?

2016-04-04 Thread Hemant Gupta
thanks for your responses. How can i use jenkins-cli.jar file to modify the below curl command: curl -o $PLUGIN_DIR/$name-$Version.hpi $JENKINS_PLUGINS_URL/$name/$latest_version/$name.hpi On Friday, April 1, 2016 at 7:17:36 PM UTC-5, Mark Waite wrote: > > If the goal is to download and

Re: Question regarding Jenkins pipeline setup

2016-04-04 Thread Brian Ray
Interesting. We have not got to using the Jenkinsfile "discovery" functionality yet, but this is good to know. I'll keep my eyes open for more on this subdirectory. On Friday, April 1, 2016 at 12:49:46 PM UTC-7, tomwils...@gmail.com wrote: > > Thank you Brian, you're right regarding the

Re: Protecting Jenkins from its own pipelines and jobs

2016-04-04 Thread Jesse Glick
On Wednesday, March 30, 2016 at 3:33:50 PM UTC-4, Jason Hull wrote: > > For instance, I can create a freestyle job with a script step that does > something like: > > echo 'my own key' >> /home/jenkins/.ssh/authorized_keys > If you have any executors configured on your master, your system is

Re: SSH vs java web start for windows slave and Linux master in jenkins

2016-04-04 Thread jpd4nt
Hi Naveen. I find ssh option more robust because our Jenkins master is behind a load balancer so the web start has to go through that, we use AWS ELB and sometimes the connection breaks. Also with a fix master its easier to set the access rules that for a slave ringing home back to the

Re: Resilience build on jenkins

2016-04-04 Thread geoffroy . jabouley
Hello by itself the plugin is not enought to configure resilient builds. If the jenkins masters crashes during the build, then build will be lost even if jenkins mesos plugin would be able to checkpoint its tasks I know there is a cloudbees plugin targeting such use case, but it is part of

Re: Amazon EC2 Plugin not starting new instances

2016-04-04 Thread Suckow, Thomas J
That is a well known issue with the Jenkins cloud API. The starting of slaves is dependent on the load statistics which take a while to convince Jenkins it should start a new slave. Effectively you can think of Jenkins trying to guess if the first jobs will finish soon and that it is "better"

Re: Email-ext + GitHub Pull Request Builder: Getting empty "developers" and "culprits" lists

2016-04-04 Thread Slide
You could use the SCRIPT token in the recipient list and then write a groovy script that resolved to the addresses of those who contributed to the build. On Sun, Apr 3, 2016, 19:25 David Antliff wrote: > > On Tuesday, August 5, 2014 at 3:14:13 AM UTC+12, James Chao

SSH vs java web start for windows slave and Linux master in jenkins

2016-04-04 Thread JenkinsJunkyard
Hello, I am configuring jenkins from linux to windows, with windows as slave. I have configured in both protocols. I see java web start very easy to configure the master slave. But while configuring the windows slave through SSH it is more complicated compared to java web start. I wanted to

Re: Customize Jenkins Build History page

2016-04-04 Thread Mark Waite
If you need more context from the job page, you might look at the deception setter plug-in On Mon, Apr 4, 2016, 6:42 AM Daniel Beck wrote: > > On 04.04.2016, at 11:44, Victor Martinez > wrote: > > > My two cents > > AFAIU this is about the

Re: simple build (DSL) for pipeline plugin

2016-04-04 Thread Martin d'Anjou
I have written enough code to occasionally get a serialization error: Apr 04, 2016 8:22:44 AM org.jenkinsci.plugins.workflow.cps.CpsThreadGroup saveProgram WARNING: program state save failed java.io.NotSerializableException: org.codehaus.groovy.runtime. HandleMetaClass Do you know how I can test

Re: Customize Jenkins Build History page

2016-04-04 Thread Daniel Beck
On 04.04.2016, at 11:44, Victor Martinez wrote: > My two cents AFAIU this is about the separate page, which you reach when clicking '(trend)' in the sidepanel widget. -- You received this message because you are subscribed to the Google Groups "Jenkins Users"

Re: Jenkins build invokes Git installation set up dialog multiple times

2016-04-04 Thread Mark Waite
Maybe you have configured git to install automatically? Look at the system configuration page under the git button. Mark Waite On Mon, Apr 4, 2016, 12:58 AM Ganesh Rao B wrote: > Hello , > > > I am Triggering Jenkins build with Git as my repository. > > When i trigger

How to bring up VM's using Jenkins?

2016-04-04 Thread David Aldrich
Hi We want to run a matrix build of a job across a set of Virtual Machines that run on a single server. The VMs use a lot of resources so we don't want them to be up concurrently. Is it possible for Jenkins to bring up a VM before running a job and then take it down afterwards, then bring up

Re: Customize Jenkins Build History page

2016-04-04 Thread Victor Martinez
Have you seen the below example? - https://wiki.jenkins-ci.org/display/JENKINS/Groovy+Postbuild+Plugin#GroovyPostbuildPlugin-Example2 Another groovy examples: - http://stackoverflow.com/questions/10882515/how-to-retrieve-jenkins-build-parameters-using-the-groovy-api My two cents On Monday, 4

Re: Customize Jenkins Build History page

2016-04-04 Thread Daniel Beck
The information shown on the build history page is not extensible. On 04.04.2016, at 08:13, Amit Bhardwaj wrote: > Hello all, > > I have a Project in Jenkins which is triggered remotely with build params. > Build param are basically the Branch to build since

Re: Running Jenkins as a different Windows User

2016-04-04 Thread ayesha s
I installed the SSL certificate and now my the jekins service is running fine as needed. On Monday, March 14, 2016 at 12:26:13 PM UTC+5:30, ayesha s wrote: > > Hi Jerome, > > Thanks for looking into my query.I will try the steps you suggested and > let you know if thhat helps. > > On Thursday,

Amazon EC2 Plugin not starting new instances

2016-04-04 Thread Ilya Levin
Hi, I've encountered a strange behavior after working with the ec2 plugin for a while. I've set my instances to NOT terminate but to stop when idle for an hour. The strange scenario is this: I have 4 stopped ec2 instances, each have 2 executors. 4 jobs have entered the Jenkins queue. They are

jclouds-plugin not removing last slave

2016-04-04 Thread David Resnick
We're using the JClouds plugin with cloudstack and a retention time of 240 minutes. Slaves are spinning up on demand and are generally brought offline as expected. There is a problem with the last slave; even when it is unused for more than 240 minutes, it is never brought offline. It is

Jenkins build invokes Git installation set up dialog multiple times

2016-04-04 Thread Ganesh Rao B
Hello , I am Triggering Jenkins build with Git as my repository. When i trigger Jenkins build ,Git installation set up dialog comes up multiple times . I have GIT already installed in my machine. (I have provided Git exe path in 'Jenkins-configuration-Path to Git executable') What need

How to tag Jenkins Job with GIT and Artifactory

2016-04-04 Thread Utkarsh Sharma
Hi Team, I am using GIT for Code, Jenkins for build and Artifactory for repo and dependency resolution. Previously I was using Git Publisher Plugin in Jenkins to tag build on git but it didn't worked for me as I have Artifactory as well. Please help me with some technique to tag build in

Customize Jenkins Build History page

2016-04-04 Thread Amit Bhardwaj
Hello all, I have a Project in Jenkins which is triggered remotely with build params. Build param are basically the Branch to build since I have multiple branches. On the Jenkins Build History page, I can see Build, Time since and Status columns. What if I want to add 'Build Params' in view as