println in "call()" in "vars/xx.groovy" shows in console, but println in defed method in class in "vars/xx.groovy" is just ignored

2017-02-10 Thread David Karr
I'm seeing some odd behavior with "println" calls in shared library methods, and a perhaps related issue with printing a shared library object in a Jenkinsfile. I've been using https://jenkins.io/doc/book/pipeline/shared-libraries/ as my implementation guide. I've been working on evolving a

Multibranch pipeline - source code present but .git file missing

2017-02-10 Thread Sharan Basappa
I am using multi-branch pipeline and I find that source code is present under {workspace}@script directory but .git files are missing in any of the directories. So, when I try to stash so that I can move to another branch, I get error saying that, "it does not appear to be a git repository"

Multi Configuration Job Jenkinsfile

2017-02-10 Thread Chris Denneen
I'm looking for example to replace existing Multi Configuration Job with Jenkinsfile that handles X Y axis mapping. Also needs to support Matrix Configuration (so which X:Y mappings to do) and Slave label to run that job on. In the multi configuration job even if called from pipeline on node

Re: sh pipeline step started to fail after update to 2.42

2017-02-10 Thread Daniel Beck
> On 10.02.2017, at 21:40, John Mellor wrote: > > Now what? All pipelines a inoperable at this point. I linked to JENKINS-41339 earlier, which mentions solutions in the comments. -- You received this message because you are subscribed to the Google Groups "Jenkins

Re: sh pipeline step started to fail after update to 2.42

2017-02-10 Thread John Mellor
Looking at your pipeline plugin version numbers, I assume that you are on Jenkins2. I'm on Jenkins 1.656 and have been unable to move up to the exact pipeline plugin version numbers that you used. However, I have the same problem, and unfortunately reverting to the previous version has not

Re: Problem with Jira plugin 2.3

2017-02-10 Thread Slide
Root of the problem looks to be: JSONException: A JSONObject text must begin with '{' at character 19 of Wrong host! Please use a valid host. Nothing

Re: Problem with Jira plugin 2.3

2017-02-10 Thread vf
More information: Our Jira version: v6.3.1#6329-sha1:7df76f1 issues.jenkins-ci.org: v7.1.7#71011-sha1:2526d7c Am Freitag, 10. Februar 2017 13:00:52 UTC+1 schrieb vf: > > Hi, > > I upgraded Jira plugin from 2.2.1 to 2.3, and could not make it working > (see stack trace below). > System: >

Re: Problem with docker agent (declarative syntax)

2017-02-10 Thread Bartłomiej Kruczyk
Thanks for your reply, it's not yet documented but I found issue which asserted that this feature is implemented. Christopher's solution works. W dniu piątek, 10 lutego 2017 10:39:49 UTC+1 użytkownik R Tyler Croy napisał: > > (replies inline) > > On Thu, 09 Feb 2017, Bart??omiej Kruczyk wrote:

Re: Problem with docker agent (declarative syntax)

2017-02-10 Thread Bartłomiej Kruczyk
That worked like a charm. I had found issue https://issues.jenkins-ci.org/browse/JENKINS-39684, and source file you are referring but I didn't known what declarative syntax expression it should be. Thank you! W dniu piątek, 10 lutego 2017 13:02:33 UTC+1 użytkownik Christopher Orr napisał: > >

Re: Problem with docker agent (declarative syntax)

2017-02-10 Thread Christopher Orr
Hi there, On Thu, 9 Feb 2017, at 13:38, Bartłomiej Kruczyk wrote: > agent { > docker { > image: 'myimage' > registry: 'localhost:5000' > } > } > A couple of points: 1. The syntax documentation is wrong at the moment: you should not add a colon after the

freeipa + ldap plugin: "Invalid login information"

2017-02-10 Thread Harri
Problem with Jenkins 2.32.2 and FreeIPA (Centos 7.3): I have configured Jenkin's LDAP plugin according to the documentation on the Wiki (https://wiki.jenkins-ci.org/display/JENKINS/LDAP+Plugin). Everything appears to be fine: anonymous ldap browsing is possible, user search base is given, etc.

Re: Issue with pipeline

2017-02-10 Thread Sharan Basappa
Folks, At this point, I am so confused. My Jenkins file is kept at the root of Git directory. I am doing this in branches where I want to do Jenkins build. I am using multibranch pipeline plug-in to define the build on Jenkins server. As I am doing only mock set-up for now, the pipeline job

Re: Problem with docker agent (declarative syntax)

2017-02-10 Thread R. Tyler Croy
(replies inline) On Thu, 09 Feb 2017, Bart??omiej Kruczyk wrote: > Hi, I have problem with setting docker agent type for my pipeline. > > Although something like this works: > > > agent { > docker 'myimage' > > } > > > This does not: > > > agent { > docker { > image:

Jenkins crashes with "Illegal character 0x0 for HttpChannelOverHttp" - Why?

2017-02-10 Thread daniel . seebauer
Hi, - Ubuntu 16.04.1 - Jenkins 2.32.2 Since a few days I see crashes on Jenkins: (/var/log/jenkins/jenkins.log*)* Feb 10, 2017 12:15:09 AM hudson.security.csrf.CrumbFilter doFilter WARNING: No valid crumb was included in request for /azenv.php. Returning 403. Feb 10, 2017 2:06:33 AM

Re: Example of a working pod with the kubernetes-ci plugin

2017-02-10 Thread Carlos Sanchez
On Saturday, January 28, 2017 at 6:36:55 PM UTC+1, Joe Rhaman wrote: > > Carlos, > > This Plugin clearly doesn't work Please provide a detailed how to at > least rather on how this works. > > This is turning out to be a complete waste of time. > Considering that are over 1200