Re: problem with jenkins not able to access git

2017-01-12 Thread Phil Swenson
ed> On Thursday, January 12, 2017 at 1:13:30 PM UTC-7, Phil Swenson wrote: > > I have a new jenkins server I'm trying to stand up 2.4 with all latest > plugins... it works for a day and then starts giving me errors like this: > > Started by timer > > git rev-parse --is-in

problem with jenkins not able to access git

2017-01-12 Thread Phil Swenson
I have a new jenkins server I'm trying to stand up 2.4 with all latest plugins... it works for a day and then starts giving me errors like this: Started by timer > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to g...@bitbucket.org:myco/ace-esni-datastore.git > git config remo

Re: notifications on pipeline builds

2016-11-28 Thread Phil Swenson
thanks! I also found this: https://github.com/fabric8io/fabric8-pipeline-library On Monday, November 28, 2016 at 3:34:34 PM UTC-7, Daniel Beck wrote: > > > > On 28.11.2016, at 23:19, Phil Swenson > > wrote: > > > > is there a plugin I'm missing that

notifications on pipeline builds

2016-11-28 Thread Phil Swenson
I've been researching ways to do build complete/fail notifications for pipeline jobs I'm surprised to only find solutions like this: https://jenkins.io/blog/2016/07/18/pipline-notifications/ https://bitbucket.org/snippets/fahl-design/koxKe basically copy/paste code into all the jenkinsfi

Jenkins 2 Pipeline script triggering itself. How to not poll for changes by git user Jenkins?

2016-09-14 Thread Phil Swenson
Hi, we have a Jenkins Pipeline job that changes a pom.xml file and checks in the change. This of course causes the job to kick itself off again. Is there a way to configure the job to ignore the jenkins user? I tried this: git url: 'g...@bitbucket.org:myrepo.git', excludedUsers: 'jenkin

Re: Detect the git repo for multi-branch pipeline

2016-09-13 Thread Phil Swenson
Thanks, worked great! On Monday, September 12, 2016 at 12:10:09 AM UTC-6, Sverre Moe wrote: > > Use instead > checkout scm > > It will checkout code from the repository > > fredag 9. september 2016 19.15.03 UTC+2 skrev Phil Swenson følgende: >> >> Hi, I have a mu

Detect the git repo for multi-branch pipeline

2016-09-09 Thread Phil Swenson
Hi, I have a multi branch pipeline configuration job working fine so far However every single repository has exactly the same jenkinsfile except for the git repo name. a typical jenkinsfile looks like: node('docker-slave') { withCredentials([[$class: 'UsernamePasswordMultiBinding', cred

Jenkins Pipeline: how to access credentials variable??

2016-08-09 Thread Phil Swenson
I am using the Jenkins Pipeline Plugin, but having trouble getting my docker config credential to do what I need. using code like: node('docker-slave') { withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: 'NEXUS', usernameVariable: 'NEXUS_USERNAME', passwordVariabl

consolidated test reporting

2014-12-09 Thread phil swenson
When you have many jenkins jobs configured, the test reports get spread among these jobs. Is there a plugin that offers consolidated test reports? thanks phil -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and

Re: best approach to automate/manage jenkins jobs?

2014-02-25 Thread phil swenson
2:19, Richard Bywater wrote: > > To add another (that I didn't see listed but apologies if it was), we use > Jenkins Job Builder - http://ci.openstack.org/jenkins-job-builder/ > > Richard. > > On Saturday, February 22, 2014, phil swenson > wrote: > >> Hi, we h

Re: best approach to automate/manage jenkins jobs?

2014-02-22 Thread phil swenson
; > *From:* jenkinsci-users@googlegroups.com [ > mailto:jenkinsci-users@googlegroups.com ] > *On Behalf Of *phil swenson > *Sent:* 21 February 2014 15:15 > *To:* jenkinsci-users > *Subject:* best approach to automate/manage jenkins jobs? > > > > Hi, we have a large num

best approach to automate/manage jenkins jobs?

2014-02-21 Thread phil swenson
Hi, we have a large number of jenkins jobs and would like to automate and version control their configuration. >From what I can tell, most people just manually config their jobs via the UI. Unless there are only a few very simple jobs, this leads to an unmanageable mess. I think the jobs should

better views for tests (plugin?)

2013-12-03 Thread phil swenson
We have our test suite sharded across 15 jenkins nodes because they take so long to execute. We have really struggled with getting a nice aggregate view into all the test results. Right now we have to drill into each job and view the test results by job (no aggregation). Does anyone have a sugge

Join Plugin triggering job twice (using Git)

2013-06-11 Thread phil swenson
I'm using the Join Plugin with Git. My join job config looks like: git SVN polling job with config that looks like this: http://cl.ly/PZfA This mostly works, however, my Post Join build which waits for some test jobs to finish gets called twice. In the first call, the git revision gets passed

GIT: triggering "promotion" job on multiple git test jobs succeeding

2013-06-06 Thread phil swenson
I want to set up a git "promotion" that runs on a "dev" branch and promotes it from dev to master after a set of test jobs succeed. So I would have 10 test jobs all run on the same git revision and when ALL of them pass, I want the Promote job to promote the revision to Master and push to origin.

Re: force a a job run on every node

2012-10-03 Thread phil swenson
add a node label axis (might be node label plugin) > > > > On 2012-10-03, at 17:26, phil swenson wrote: > >> well, it's not running on every node. I kick off a job and it only >> goes to one node. >> >> so still stuck…. >> >> On Wed, Oct 3, 201

Re: force a a job run on every node

2012-10-03 Thread phil swenson
well, it's not running on every node. I kick off a job and it only goes to one node. so still stuck…. On Wed, Oct 3, 2012 at 3:21 PM, phil swenson wrote: > trying a multi-configuration build now. think this will give me what i want > > On Wed, Oct 3, 2012 at 2:54 PM, phil

Re: force a a job run on every node

2012-10-03 Thread phil swenson
trying a multi-configuration build now. think this will give me what i want On Wed, Oct 3, 2012 at 2:54 PM, phil swenson wrote: > I'm using gradle and periodically I need to run a specific task on > every node to clean out the cache. > > Is there a way I can force a job to

force a a job run on every node

2012-10-03 Thread phil swenson
I'm using gradle and periodically I need to run a specific task on every node to clean out the cache. Is there a way I can force a job to run on all nodes? thanks

create a report based on stdout

2012-09-19 Thread phil swenson
I have a jenkins job (gradle dependency report) that outputs a report to standard out. I'd like to look for a pattern in standard out like "---dependency report---" and save everything from that point on to a file. Then I'd like jenkins to save this text file as an artifact so we can capture hist

Jenkins Windows Slave Service startup is flakey

2012-09-17 Thread phil swenson
We have troubles with Jenkins Slaves stopping working and having to manually restart the windows service on every node (15 nodes). Last week, windows update ran and all the servers got restarted. The Jenkins Slave service only started on 5 of the 15. I had to ssh into each and start the service.

Re: kill all jobs/empty the queue?

2012-08-23 Thread phil swenson
works great. can't find anything for killing all the current jobs though. But this helps, thanks! On Wed, Aug 22, 2012 at 5:26 PM, Jesse Farinacci wrote: > Greetings, > > On Wed, Aug 22, 2012 at 7:21 PM, phil swenson > wrote: > > When you have a bunch of jobs that are

kill all jobs/empty the queue?

2012-08-22 Thread phil swenson
When you have a bunch of jobs that are queued up and destined to fail (won't compile for example)…. there should be a way to kill all the jobs and empty the queue. Is there a plugin for this? thanks phil

restart broken build when certain string is detected?

2012-08-06 Thread phil swenson
I have a large Jenkins setup in Germany running against SVN in the US. Unfortunately, I get quite a few broken builds from SVN flaking out (network drops I assume). We've never had this problem with everything being in the same datacenter. I don't have a good solution to preventing the problem,

Re: workspace deletion

2012-08-06 Thread phil swenson
users@googlegroups.com > [mailto:jenkinsci-users@googlegroups.com] On Behalf Of phil swenson > Sent: Friday, August 03, 2012 12:23 PM > To: jenkinsci-users > Subject: workspace deletion > > Is there an easy way to delete all the workspaces on all nodes? > > I looked at the CLI - doesn't appear to help. > > thanks >

Re: workspace deletion

2012-08-03 Thread phil swenson
ty is: > > $ cd $JENKINS_HOME/jobs > $ find . -regex "\./[^/]+/workspace/[^/]+" -exec rm {} \; > > On Fri, Aug 3, 2012 at 12:23 PM, phil swenson wrote: >> Is there an easy way to delete all the workspaces on all nodes? >> >> I looked at the CLI - doesn't a

workspace deletion

2012-08-03 Thread phil swenson
Is there an easy way to delete all the workspaces on all nodes? I looked at the CLI - doesn't appear to help. thanks

forcing english locale

2012-08-02 Thread phil swenson
I have a jenkins server in germany but our team are pure english speakers. Jenkins is running on a windows server set to a system locale of English. Unfortunately, some of the Jenkins text is coming back in German. Does anyone know why and how to force to English? example, see "usage": http://c

Re: jenkins nodes keep losing connectivity - how to avoid manual restart of node service?

2012-07-30 Thread phil swenson
a > service auto-restart. That way, when you lose connectivity, Windows itself > will try to restart the slave node. > > --Rob > > -Original Message- > From: jenkinsci-users@googlegroups.com > [mailto:jenkinsci-users@googlegroups.com] On Behalf Of phil swenson >

jenkins nodes keep losing connectivity - how to avoid manual restart of node service?

2012-07-30 Thread phil swenson
We have our Jenkins server running in virginia but all the nodes run in germany. Our nodes often lose connectivity briefly and the node gets stuck "offline". I have to manually go the the node and restart the windows service. This always works…. Does anyone have a remedy for this so I don't hav

best approach for aggregating test results across many nodes/jobs

2012-07-26 Thread phil swenson
We have many nodes and many jobs running tests. What is the best way to get all the test results in one report so we know our full status in one view? thanks

update job via config.xml post

2012-06-27 Thread phil swenson
I wrote some code that successfully updates Jenkins via an HTTP post of config.xml to jenkins at http://jenkinsserver/createItem?name=jobname This is fine…. but what if I want to update the config.xml? Thanks for any help!

Re: troubles with svn externals - auth error

2012-06-21 Thread phil swenson
see a file containing > credentials for the Germany instance, and after having done a checkout from > the US instance you should see an additional file. > > Good luck > > Brian > > > On 21 June 2012 10:55, phil swenson wrote: >> >> I guess I didn't explai

Re: troubles with svn externals - auth error

2012-06-21 Thread phil swenson
ntication failed)" We have a similar setup (all US) that works fine. Does that explain the situation any better? thanks phil On Thu, Jun 21, 2012 at 2:03 AM, Neil Bird wrote: > Around about 21/06/12 00:36, phil swenson typed ... > >> I am setting up a new jenkins server and a

troubles with svn externals - auth error

2012-06-20 Thread phil swenson
I am setting up a new jenkins server and am running into a problem. when synching my svn repo I get this error on the externals: Caused by: org.tmatesoft.svn.core.SVNCancelException: svn: E200015: No credential to try. Authentication failed at org.tmatesoft.svn.core.internal.wc.SVNErrorMa

Re: troubles with svn on jenkins slave

2012-06-18 Thread phil swenson
an upgrade to the svn plugin solved the prob On Mon, Jun 18, 2012 at 2:36 PM, phil swenson wrote: > I tried to bring my windows 2008 server slave online and get this in > the build console output: > > Caused by: java.lang.NoClassDefFoundError: Could not init

Re: managing many jobs/nodes - better way than UI

2012-06-04 Thread phil swenson
if i want to make a change to every job, I have to do it 50 times. if i want to make a change to every node, I have to do it 20 times On Mon, Jun 4, 2012 at 4:03 PM, Les Mikesell wrote: > On Mon, Jun 4, 2012 at 3:51 PM, phil swenson wrote: >> I am finding it impossible to manage all m

managing many jobs/nodes - better way than UI

2012-06-04 Thread phil swenson
I am finding it impossible to manage all my jenkins nodes and jobs via the UI. We have 20 nodes and 50 jobs. Suggestions on the best way to deal with this?

jdk install via jenkins doesn't work???

2012-06-04 Thread phil swenson
I configured Jenkins to be able to install JDKs and get this error when the job kicks off. Ideas? Building remotely on rdvmden20 Installing D:/jenkins/work/tools/jdk6/jdk.exe [jdk6] $ D:/jenkins/work/tools/jdk6/jdk.exe /s '/v/qn REBOOT=ReallySuppress INSTALLDIR=\"D:\jenkins\work\tools\jdk6\" /L \

Re: configuring gradle plugin with jenkins

2012-06-04 Thread phil swenson
think I got it. You configured JDKS under the manage jenkins and select the JDK per job. I'll see if the auto-install stuff works, co-worker tells me that it doesn't. On Mon, Jun 4, 2012 at 12:13 PM, phil swenson wrote: > We've had a lot of trouble getting Jenkins to rec

configuring gradle plugin with jenkins

2012-06-04 Thread phil swenson
We've had a lot of trouble getting Jenkins to recognize the correct JVM when using the gradle plugin. What is the correct approach for getting it to always use the JDK 1.6? The JDK drop down seems to have no effect (what populates the drop down anyway?). Setting JAVA_HOME on the box itself isn't