Re: Jenkins 2.0 Upgrade

2016-04-25 Thread Daniel Beck
> On 25.04.2016, at 08:07, Sverre Moe wrote: > > How can I be sure before upgrade to Jenkins 2.0 that all my installed plugins > are still compatible? > > Has there been any changes to the API that would require me to update my > groovy scripts? We do not expect plugins to be incompatible wi

Re: Jenkins Pipeline Plugin - how to inject global passwords?

2016-04-25 Thread Harry G.
Please note: Credentials Binding works, but currently it is not possible to mask passwords in the log with this solution. https://issues.jenkins-ci.org/browse/JENKINS-24805 A PR from Cloudbees is in work, but not finished https://groups.google.com/forum/#!msg/jenkinsci-users/GgX3RSckVlI/LU8IqzqoMw

Saving job log as text file?

2016-04-25 Thread karlis purens
Hello, How can Jenkins job console be saved as a text file on slave machine? I am working with a project that generates long and complex console logs - that are later analyzed for determining potential problems. At the moment after each build i have to login to jenkins and manually copy the co

Re: Jenkins Pipeline Plugin - how to inject global passwords?

2016-04-25 Thread Ant Weiss
Hi all, thanks for your inputs. In fact I implemented this with Credentials Binding plugin and it worked great - masking the passwords as it should. On Monday, April 25, 2016 at 12:55:14 PM UTC+3, Harry G. wrote: > > Please note: Credentials Binding works, but currently it is not possible > to m

Jenkins can't find existing artifacts

2016-04-25 Thread David Villasmil
Hello Guys, I have a jenkins running a job, after which I want it to "archive artifact", which is basically just get some files. The Job clones a github and when ran, it generates some log files which I need. The patter is: logfiles/* I added a command to list the directory to make sure the f

RE: Jenkins can't find existing artifacts

2016-04-25 Thread Jackson, Randy
Try using logfiles/ without the * Randy Jackson Software Build Engineer | Indiana Farm Bureau Insurance 225 S. East Street P O Box 1250 | Indianapolis, IN 46206 Office: (317) 692-8118 | Fax: (317) 692-7212 randy.jack...@infarmbureau.com | www.infarmb

Re: Jenkins can't find existing artifacts

2016-04-25 Thread David Villasmil
Hello, Thanks for answering. Funny thing, it didn't generate an error, but still didn't get the files... :( David On Monday, April 25, 2016 at 8:45:05 AM UTC-4, David Villasmil wrote: > > Hello Guys, > > I have a jenkins running a job, after which I want it to "archive > artifact", which is ba

Pipeline Team project customize settings

2016-04-25 Thread Kesav Kumar Kolla
I've created a team project with Bitbucket branch source. On the team project I configured Discard old Items. This setting is not honored by the individual projects that's been created for each of my project. Is there any way to specify these project level settings in Jenkinsfile? Thanks in a

Re: Pipeline Team project customize settings

2016-04-25 Thread Daniel Beck
> On 25.04.2016, at 18:06, Kesav Kumar Kolla wrote: > > On the team project I configured Discard old Items. This setting is not > honored by the individual projects that's been created for each of my project. > > Is there any way to specify these project level settings in Jenkinsfile? The fo

Re: Pipeline Team project customize settings

2016-04-25 Thread Kesav Kumar Kolla
Thanks a lot for the pointer. -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web v

call a Jenkins plugin from a pipeline

2016-04-25 Thread Jan Chaloupecky
Hello, I have a Jenkinsfile in my project that triggers different build steps from checking out the sources through testing/building my project. I would like to know if I can call some other Jenkins plugins from the Jenkinsfile. In my non-pipeline projects I was using some "post build actions" s

Re: call a Jenkins plugin from a pipeline

2016-04-25 Thread Mark Waite
The JUnit plugin has been extended to support pipeline. Refer to https://github.com/jenkinsci/pipeline-plugin/blob/master/TUTORIAL.md for an example of how to use it in a pipeline. I don't see any mention of pipeline enabling changing in the BitBucket Build Status Notifier Plugin or the Cobertura

Re: call a Jenkins plugin from a pipeline

2016-04-25 Thread Jan Chaloupecky
Ok thanks, there is a open ticket for the Bitbucket notifier https://issues.jenkins-ci.org/browse/JENKINS-33841 So this means that each plugin has to implement the pipeline support before it can be used. thanks Jan On 25 April 2016 at 19:12:40, Mark Waite (mark.earl.wa...@gmail.com) wrote: The

Jenkins XUnitPublisher call from pipeline plugin

2016-04-25 Thread Павел Песецкий
I see that xunit compatibility is supported by pipeline from: https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md#build-steps-and-post-build-actions But when I try to add the step with: node('remote') { step([$class: 'XUnitPublisher', types: [ [NUnitJunitHudsonTestType : [

Pipeline: "Branch not mergable"

2016-04-25 Thread Andrew Melo
Hi all, Fairly often (~50% of the time), when I push a feature branch up to GH, my multibranch configuration job will get the notification, poll GH, then bomb with: Checking pull request #PR-47 Not mergeable, skipping Even though the branch is mergable. If I force a build manually, it bombs

Bind Usergroup to specified node(s)/slave(s)?

2016-04-25 Thread 'Dan Steffen' via Jenkins Users
Hello, we start at office to work with one central-master jenkins server for the administration (job-definitions, user management etc.) and one or more nodes per team, this works without problems. But we look for a configuration so we could bind the nodes to the usergroups we use to organized

Re: Trigger arbitrary build/post-build steps from pipeline

2016-04-25 Thread Andrew Melo
ping? Is the shiny new pipeline functionality simply incompatible with all of the existing plugins? On Thursday, April 21, 2016 at 2:34:00 PM UTC-5, Andrew Melo wrote: > > Hi, > > I've dug a bit more, perhaps that will help find a solution. It appears > the "step" groovy function wants a class t

Re: Trigger arbitrary build/post-build steps from pipeline

2016-04-25 Thread Craig Rodrigues
>From a pipeline, You cannot invoke methods in other Jenkins plugins unless those plugins have been modified to support pipelines. See: https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md https://github.com/jenkinsci/pipeline-plugin/blob/master/DEVGUIDE.md -- Craig On Sun

Re: Bind Usergroup to specified node(s)/slave(s)?

2016-04-25 Thread Daniel Beck
> On 25.04.2016, at 19:44, 'Dan Steffen' via Jenkins Users > wrote: > > we start at office to work with one central-master jenkins server for the > administration (job-definitions, user management etc.) and one or more nodes > per team, this works without problems. But we look for a configura

Jenkins building a product consisting of many Maven projects? (with Jenkins Pipeline plugin?)

2016-04-25 Thread Marnix Klooster
Hi all, (Apologies for crossposting my Stack Overflow question ( http://stackoverflow.com/q/36624122/223837) here.) Basically my question is: how best to configure Jenkins for building a product which consists of many interdependent Maven projects? So we have a large product, and which was divi

Re: Pipeline Team project customize settings

2016-04-25 Thread Kesav Kumar Kolla
After I add properties [[$class: 'BuildDiscarderProperty', strategy: [$class: 'LogRotator', artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '5']]] In Jenkinsfile I'm getting the following exception: groovy.lang.MissingPropertyException: No such property: p

RE: Jenkins can't find existing artifacts

2016-04-25 Thread Jackson, Randy
Where are you looking for them? On the Jenkins GUI, they should be under the build for the job. On the server they should be at: %JenkinsHome%/jobs/%JobName%/builds/%BuildNumber%/archive/ If you are running on a slave server, the archived files will be on the master server Randy Jackson Software

Re: Extracting credentials from Jenkins server

2016-04-25 Thread Victor Martinez
Hi, http://jenkins-ci.361315.n4.nabble.com/How-to-restore-the-setting-encrypted-by-credential-plugin-td4768926.html might help cheers On Saturday, 23 April 2016 00:09:45 UTC+1, Jakov Sosic wrote: > > Hi guys, > > I'm trying to extract credentials from Jenkins server and migrate them to > a n

Multibranch workflow cannot setup job properties

2016-04-25 Thread Kesav Kumar Kolla
https://issues.jenkins-ci.org/browse/JENKINS-34261 Are there any workaround for this? -- 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 jenkinsci-users+unsubsc

Re: Jenkins can't find existing artifacts

2016-04-25 Thread bandi pavankumar reddy
Hi, Try using **/*.log . may be this will help you. On Monday, April 25, 2016 at 6:15:05 PM UTC+5:30, David Villasmil wrote: > > Hello Guys, > > I have a jenkins running a job, after which I want it to "archive > artifact", which is basically just get some files. > > The Job clones a github and