Copy only the changed file in bitbucket to the development server , using send build artifacts over ssh jenkins - PHP

2014-09-17 Thread Kanishka Bandara Panamaldeniya
HI i am using jenkins and bitbucket , when ever my files changed in bitbucket my jenkins build runs , so now i want to send the chaned file from bitbucket to my dev

Re: Performance of Jenkins slaves

2014-09-17 Thread Les Mikesell
On Wed, Sep 17, 2014 at 3:24 PM, Alex Demitri wrote: > > I have been trying to tweak more and more the Jenkins slave setup. Now they > are configured as 16vCPUs + 48GB of RAM per slave. How does this relate to the physical host's available resources? Are you overcommitted with the number of act

Re: Performance of Jenkins slaves

2014-09-17 Thread Alex Demitri
Thanks Scott for the quick reply. After talking to DevOps it seems as there is no real process that's the culprit. As of right now, the issue is also instability as builds don't always take 2h20m, but sometimes, for some reason it lasts 5-6 hours. I asked them if there is any specific process t

Re: keep forever buttons

2014-09-17 Thread Daniel Beck
The ones with the button probably have the 'Discard old builds' option checked. Builds can be kept for various reasons, not just manual selection by a user (e.g. the Advanced Project Option "Keep the build logs of dependencies") -- those are likely the ones with the lock icon but no way to turn

Re: Performance of Jenkins slaves

2014-09-17 Thread Scott Evans
Alex, I'm not a VMWare admin, so your experience would probably be better than anything I could suggest for setting up VMware nodes. Is your build set up (such as with a multiconfiguration / matrix build) to use all 3 nodes for its work? If your build already uses all 3 slaves and all 3 are maxi

keep forever buttons

2014-09-17 Thread Ginga, Dick
I have just noticed that some of my jobs display the Keep This Build Forever button and some don't. Same applies to jobs already marked as Keep Forever, there is no Don't keep this build forever sometimes. Can't seem to find a rhyme or reason to it. I am running 1.565.2. Dick Ginga, Informati

Re: Performance of Jenkins slaves

2014-09-17 Thread Alex Demitri
What are good points of say, VMware nodes set up for good performance? Also, what would you recommend for reaching 1hr? On Wednesday, September 17, 2014 1:38:57 PM UTC-7, SA Evans wrote: > > Alex, > > The first question I'd ask is what part of the build is running at 100% > cpu, and can you tell

Re: Performance of Jenkins slaves

2014-09-17 Thread Scott Evans
Alex, The first question I'd ask is what part of the build is running at 100% cpu, and can you tell what processes are consuming the cpu at that time? You need to figure out the bottlenecks and where your pain points are first, before trying to solve your performance issues (or perceived issues).

Performance of Jenkins slaves

2014-09-17 Thread Alex Demitri
Hi! We just started using Jenkins for continuous intergration. The code is pulled from Perforce. We have one jenkins master (Windows VM) and 3 slaves (Windows VMs). I am more the VMware admin than a programmer. I have been trying to tweak more and more the Jenkins slave setup. Now they are conf

Re: Run A Script on Delete Project?

2014-09-17 Thread T. Anthony Rabaa
Create a job for deleting other jobs. I have a job that, for a specified tab will iterate over each job in it and delete all workspaces across the nodes for it. Then it deletes all the jobs, then the tab. You can build one to do database cleanup before deleting the job. > On Sep 15, 2014, at 6:

RE: Connect Jenkins Server to Artifactory

2014-09-17 Thread Borresen, John - 0442 - MITLL
Do I need to configure a Jenkins Repository on our Artifactory server? If so...how? -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck Sent: Wednesday, September 17, 2014 2:13 PM To: jenkinsci-users@googlegroups.com

RE: Connect Jenkins Server to Artifactory

2014-09-17 Thread Borresen, John - 0442 - MITLL
Nope, we do. -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck Sent: Wednesday, September 17, 2014 2:13 PM To: jenkinsci-users@googlegroups.com Subject: Re: Connect Jenkins Server to Artifactory Looks like you have

Re: Connect Jenkins Server to Artifactory

2014-09-17 Thread Daniel Beck
Looks like you have no Artifactory servers configured. On 17.09.2014, at 20:02, Borresen, John - 0442 - MITLL wrote: > Receiving the following Stack Trace when configuring Jenkins Server to > connect to our Artifactory Server: > > Stack trace > > javax.servlet.ServletException: java.lang.N

Connect Jenkins Server to Artifactory

2014-09-17 Thread Borresen, John - 0442 - MITLL
Receiving the following Stack Trace when configuring Jenkins Server to connect to our Artifactory Server: Stack trace javax.servlet.ServletException: java.lang.NullPointerException at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:778) at org.kohsuke.st

Re: Problem with git ssh access from Unix slave

2014-09-17 Thread Robert Krüger
Before anyone wastes time on this: The explanation was that the embedded ssh server of our git server (Atlassian stash) has its own host key and I had connected with the ssh server of the hosting machine, thus creating the mismatch. Removing the entry from known_hosts and then manually connecting t

Problem with git ssh access from Unix slave

2014-09-17 Thread Robert Krüger
Hi, I'm trying to install and use my first slave (Unix) and I'm obviously doing something wrong here. I have created a user account jenkins with a home directory on my slave (Linux) box and have added the public key of my master's user to its authorized_keys file and verified that I can log in to

Re: NoClassDefFoundError when using JsHint, PMD, FindBugs and Checkstyle plugins

2014-09-17 Thread RDR
Hi Ulli, Thanks for taking the time to look at my issue - your question have given my just enough of a hint to work this out... Basically my company has certain restriction on the external http proxy which have been put in place in the name of security (but with out actually achieving it). Conseq

Re: how to modify/add/delete tool installations on a slave using Groovy?

2014-09-17 Thread Nico Mommaerts
My question got answered on SO, for people who want to do the same: http://stackoverflow.com/questions/25889437/how-to-modify-add-delete-tool-installations-on-a-jenkins-slave-using-groovy Op maandag 15 september 2014 10:52:44 UTC+2 schreef Nico Mommaerts: > > Hey, > > atm I am using a Groovy scrip

Re: NoClassDefFoundError when using JsHint, PMD, FindBugs and Checkstyle plugins

2014-09-17 Thread Ulli Hafner
Am 16.09.2014 um 18:03 schrieb RDR : > Hi, > > I've installed the following plugins on to my Jenkins server to watch for > Java/JavaScript coding issues: > Do you have both of these Plugins installed? Actually these should be the same (Name vs. id). > Static Code Analysis Plug-ins 1.56 >

Use Groovy Postbuild Plugin to call REST API (by HTTPBuilder)

2014-09-17 Thread dennys
We want to call a REST API in Jenkins jobs, because we already use Groovy Postbuild Plugin in other Jenkins jobs, we try to use it. And we find a sample from http://groovy.codehaus.org/modules/http-builder/doc/post.html This is partial source code: But Jenkins shows the following error Then I

How to bind groovypostbuild class/methods to a specific build

2014-09-17 Thread Axel MOCK
Hi, I'm just experimenting with Groovy (newbie) to enhance/ease functionality on our Jenkins server. I have NO experience with Java. What I want to do is to create a parametrized job that receives a job name and a build number and some other information as parameters to access some data of that