Pipeline currentBuild object documention

2016-09-29 Thread Mark Bidewell
Is there any documentation on what build properties are exposed by the currentBuild object? Thanks -- 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 to

Pipeline stage view display commits twice

2016-09-29 Thread tarocaravan
In my pipeline stage view, I aways see two commits even though I have only committed once. I think the problem is because: 1) It is a scheduled job 2) The pipeline itself checks out the code Ideally the schedule would be in the pipeline, but I don't think that's possible. I am using pipeline

Re: Pipeline: Check if build parameter exist

2016-09-29 Thread Craig Rodrigues
Hi, You are right. This has affected me too, since I use the same technique as you to figure out if a parameter exists. I think that the way that build parameters are accessed inside pipeline scripts has been changed in workfow-cps-plugin 2.17 as part of:

Re: Blue Ocean Problems: Cannot read property 'jenkinsConfig' of undefined

2016-09-29 Thread Michael Neale
Hi - are there any other errors in the console (usually there is a "..." you can click on to see exact lines/source etc). Also - what state was the jenkins in that you installed ? MIght be worth opening a ticket under the "blueocean-plugin" component. On Thursday, September 29, 2016 at

Re: Jenkins Docker Slave unable to connect to Jenkins Master

2016-09-29 Thread jsandhu2204
Hi, We use AutoScalingGroup in AWS. ASG simply deleted that instance and created new one. I have never seen any issue after that. Please provide more information. I am facing OutofMemory New Threads etc. I have increased the Ulimits on OS and Docker Container. So far so good. Thanks

Re: Blue Ocean Problems: Cannot read property 'jenkinsConfig' of undefined

2016-09-29 Thread James Dumay
On Thursday, September 29, 2016 at 6:05:36 PM UTC+10, jwa wrote: > > Certainly have. No dice :-( > > On Thursday, 29 September 2016 01:09:18 UTC+1, Indra Gunawan (ingunawa) > wrote: >> >> Have you restarted Jenkins yet before trying new plugin? >> >> From: on

Re: Blue Ocean Problems: Cannot read property 'jenkinsConfig' of undefined

2016-09-29 Thread James Dumay
@Indra - Blue Ocean doesn't need a restart when installed :) On Thursday, September 29, 2016 at 10:09:18 AM UTC+10, Indra Gunawan (ingunawa) wrote: > > Have you restarted Jenkins yet before trying new plugin? > > From: on behalf of jwa < > jamie...@gmail.com > >

Re: Blue Ocean Problems: Cannot read property 'jenkinsConfig' of undefined

2016-09-29 Thread James Dumay
Hi jwa, Thats no good. What version of the plugin do you have installed? What browser and version are you using to access Blue Ocean? On Thursday, September 29, 2016 at 2:21:05 AM UTC+10, jwa wrote: > > Hi All, > > Has anyone seen this problem with the Blue Ocean UI? When I click "Try > Blue

Re: [Jenkins-infra] Scheduled maintenance for JIRA, Wiki, Accounts, DNS, etc 2016-09-29 22:00-23:00 UTC

2016-09-29 Thread R. Tyler Croy
(replies inline) On Wed, 28 Sep 2016, R. Tyler Croy wrote: > The ticket this is related to is: > > > The services this will affect are: > > * JIRA (https://issues.jenkins-ci.org) > * Confluence (https://wiki.jenkins-ci.org) > * Accounts

Re: Pipeline: Check if build parameter exist

2016-09-29 Thread Michael Lasevich
I cheat using try/catch: try{ echo "MyParam is:"+ myParam} catch(ex) { myParam = "default" } Its ugly, but works. Obviously you can alter this concept to whatever works for you :-) -M On Thursday, September 29, 2016 at 1:37:05 AM UTC-7, Sverre Moe wrote: > > I can no longer check if a build

Re: scriptler - dependencies with grab/grape?

2016-09-29 Thread Daniel Serodio
AFAIK it's not possible. I tried it with both Scriptler and the Script Console (/script URL) and got an "unable to resolve class groovyx.net.http.HTTPBuilder" error (HTTPBuilder is the class I imported via Grab). If I try to run it using the "groovysh" option of jenkins-cli, I get:

Re: Pipeline external global library in SVN - errors

2016-09-29 Thread Brian Ray
I entered low priority JIRA-38517 for the above issue. On Friday, September 16, 2016 at 5:58:38 PM UTC-7, Brian Ray wrote: > > >

Pipeline & GH pull requests

2016-09-29 Thread Graham Hay
Is there any way to get the id of a pull request, in the brave new pipeline world? It was exposed as $ghprbPullId when using the GHPRB plugin. I'm using a GH Org Folder & Multibranch, with a Jenkinsfile. Also, what do I have to do to get something to appear

Jenkins+testlinkplugin don't works propely with page object and testng

2016-09-29 Thread sonia Cepedano Dueñas
I tried to used testink integration but doesn't work in my project, i have selenium test with java, page object and testng Any solution -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails

Windows Jenkns Slave

2016-09-29 Thread inforedaster .
Hello, Jenkins : 1.642.2 slave windows 2012 R2 In the Windows slave i check the service .msc but i don't find the jenkins slave service, when i open manage node in the Manage jenkins i click : Bring this node back online i have this log : [windows-slaves] Connecting to WS Checking if Java

Re: Publishing multiple test results from a jenkinsfile (or equivalent)

2016-09-29 Thread Sean Flanigan
I know it's weeks since this was asked, but I suppose it can't hurt to add some information. This problem is https://issues.jenkins-ci.org/browse/JENKINS-27395 I'm using this kludge inside Jenkinsfile (where 'appserver' is used to namespace the test results): def integrationTests(def appserver)

Pipeline: Check if build parameter exist

2016-09-29 Thread Sverre Moe
I can no longer check if a build parameter exist before accessing it This has worked previously before I updated Jenkins and the Pipeline plugins: def myParam = false if (getBinding().hasVariable("MY_PARAM")) { myParam = Boolean.parseBoolean(MY_PARAM) } final def myParam = MY_PARAM The

Re: reg old builds

2016-09-29 Thread Baptiste Mathus
Google for "Archive artifacts builds" and don't discard old builds I guess. Or mark them "build forever" if you don't some to be automatically cleaned up when applying the discard. 2016-09-28 20:54 GMT+02:00 Zue Sani : > Hi , > > Can I know how can we save old builds in

Re: Blue Ocean Problems: Cannot read property 'jenkinsConfig' of undefined

2016-09-29 Thread jwa
Certainly have. No dice :-( On Thursday, 29 September 2016 01:09:18 UTC+1, Indra Gunawan (ingunawa) wrote: > > Have you restarted Jenkins yet before trying new plugin? > > From: on behalf of jwa < > jamie...@gmail.com > > Reply-To: "jenkins...@googlegroups.com " <

Re: How to make sure I am safe to upgrade..?

2016-09-29 Thread Baptiste Mathus
[moving to users list, please use that list non Jenkins dev related questions] Definitely do what Daniel advises (back up), plus set up a pre-production server, with the same current config, and try upgrading that one first to know where you're going. 2016-09-28 16:38 GMT+02:00 Daniel Beck

Re: Logs Flooded with SEVERE: http-outgoing-540 [CLOSED] HTTP protocol exception: null

2016-09-29 Thread Oleg Nenashev
Related ticket in Jenkins JIRA: https://issues.jenkins-ci.org/browse/JENKINS-34774 четверг, 21 июля 2016 г., 18:27:48 UTC+2 пользователь david.f...@veeva.com написал: > > I have been struggling with this error for several weeks now, any help > would be appreciated. I tried to collect more