Re: Iteration over list or map in Pipeline script

2017-03-16 Thread 'Martin Schmude' via Jenkins Users
Thank you all for the clarification. Am Montag, 13. März 2017 15:26:44 UTC+1 schrieb Martin Schmude: > > Hello, > > I have a freestyle job with one step of the kind "Execute Groovy Script". > Its Groovy code is > > def x = ['a', 'b', 'c'] > println x > x.each { println it } > > > The output of t

Declarative pipelines vs scripted

2017-03-16 Thread Nick Le Mouton
Hi, I'm just getting my head around pipeline as code and have converted my previous Jenkins job/ant build targets to a Jenkinsfile. As I was looking for documentation on the Jenkins site, I'm seeing mentions of declarative pipelines and it differs from what I've written. Which method should I

Re: Trigger secondjob after some delay of first job execution

2017-03-16 Thread Hemanth Reddy
Thanks Bill, If my First job runs for 10 hours, My second job needs to be run for every 1 hour to just collect the logs. Means second job should be triggered 10 times. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this g

Re: How to pass in a param into Multi branch pipeline

2017-03-16 Thread Dan Tran
anyone? or this is a limitation of multibranch pipeline? Thanks -Dan On Wednesday, March 15, 2017 at 5:23:04 PM UTC-7, Dan Tran wrote: > > Hi > > My Jenkinsfile has a boolean parameter, and I would like to enable a > parameter via > > - user selection > - ENV set at the job where my gro

Re: Multi branch pipeline and Bitbucket Server Web Post Hooks Plugin

2017-03-16 Thread Dan Tran
it works!!! I somehow did not have bitbucket branch source plugin installed Now I ran into a problem where it builds both branches and PRs. But that is another issue The transparent webhook integration is awesome. Thanks -Dan -- You received this message because you are subscribed to the Goo

Re: Unable to connect slaves after enabling security

2017-03-16 Thread Daniel Beck
> On 16.03.2017, at 07:00, jbdundas wrote: > > 3) We delegate authentication to our company based authentication mechanism > and it works perfectly. Is this a private plugin, or what (public) plugin handles this? -- You received this message because you are subscribed to the Google Groups "

Re: Continous Delivery Plugin w/ manual steps?

2017-03-16 Thread Daniel Beck
> On 07.03.2017, at 12:38, Turbo Fredriksson wrote: > > I've tried the "Pipeline" plugin, but that don't seem to have a manual step > for me/someone to click on. What about this? https://jenkins.io/doc/pipeline/steps/pipeline-input-step/#input-wait-for-interactive-input Wrap in a timeout if

Re: Unable to get NodeName in pipelines for WorkflowJob

2017-03-16 Thread Zeeshan Maqbool
anyone got ideas ? On Monday, March 6, 2017 at 6:17:12 PM UTC-8, Zeeshan Maqbool wrote: > > Simplified code which is easier to read : > > def mJenJobs = jenkins.model.Jenkins.getActiveInstance()..getAllItems() > def mJenJobsSize = mJenJobs.size() > def mResult = [] as Set > > for (i = 0; i < mJenJ

Re: JClouds Plugin

2017-03-16 Thread Fritz Elfert
On 16.03.2017 16:32, Ali Bazlamit wrote: > Thanks Fritz for answering, > > Just to make sure i understood you good, i need to add the provider > (profitbricks-rest) dependency to the pom.xml ? > Exactly. Well, first you fork the jclouds plugin. But I assume you are familiar with the common fork/

Re: Does there is a Coverity Fix Trend Plugin

2017-03-16 Thread Victor Martinez
Long time ago I did use https://wiki.jenkins-ci.org/display/JENKINS/Plot+Plugin to plot those coverity metrics my 2 cents On Thursday, 16 March 2017 16:56:50 UTC, Pradeep Patra wrote: > > Yes, We could able to collect the coverity data fort each module > connecting to coverity-connecting serve

Re: Does there is a Coverity Fix Trend Plugin

2017-03-16 Thread Richard Ginga
there is certainly a way of gathering the total "fixed" issues at any point in time. then you save each of those and graph that set. My perl program however resides on my previous employers computer. I might have used the Perl module GD::Graph for the graphing. and I was able to display it in Jenki

Re: Does there is a Coverity Fix Trend Plugin

2017-03-16 Thread Pradeep Patra
Yes, We could able to collect the coverity data fort each module connecting to coverity-connecting server through GUI. Actually when the time passes we may fix some issues and the fixing trend is more important as part of quality metrics. So I was thinking is there a way to achieve this ? Does

Re: JClouds Plugin

2017-03-16 Thread Ali Bazlamit
Thanks Fritz for answering, Just to make sure i understood you good, i need to add the provider (profitbricks-rest) dependency to the pom.xml ? Thanks again. On Tuesday, March 14, 2017 at 5:34:32 PM UTC+1, Ali Bazlamit wrote: > > Hi, > > I have a question about the list of available providers,

Re: How to best define .m2 local maven repo path in multi-branch projects/Jenkinsfile?

2017-03-16 Thread David Karlsen
I keep it in the workspace so it disappears with it Den tor. 16. mar. 2017, 12:39 skrev Nazarii Bardiuk : > We also have similar situation with multiple branches and the same maven > snapshot version. > Stefan, did you manage to run builds for separate branches without version > clashes? > > On F

Mystery Serialization Error

2017-03-16 Thread John Mellor
I have a very simple pipeline that malfunctions unexpectedly. Adding @NonCPS decorators also does not workaround the job failure problem, so I'm mystified as to how to write this correctly. I'm not sure if there is a coding error in the pipeline libs, a coding error in our local lib, or a simp

Re: Continous Delivery Plugin w/ manual steps?

2017-03-16 Thread Turbo Fredriksson
This is a huge blocker for me and the company I work for at the moment. Is there anyone that could be persuaded to help us implement something like this for a box of chocolates :) -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe

Re: Does there is a Coverity Fix Trend Plugin

2017-03-16 Thread Richard Ginga
Pradeep, unless there is something new in the coverity plugin, the answer is no or, more accurately, I don't know of one. The Coverity plugin will display historic # of defects discovered. What you want, i'm sure you know, is available on the your Coverity-Connect server. there is a Coverity Perl

Re: How to best define .m2 local maven repo path in multi-branch projects/Jenkinsfile?

2017-03-16 Thread Nazarii Bardiuk
We also have similar situation with multiple branches and the same maven snapshot version. Stefan, did you manage to run builds for separate branches without version clashes? On Friday, August 19, 2016 at 10:46:00 AM UTC+1, Álvaro Lobato wrote: > > I think that multibranch have a workspace for e

Re: Own plugin - add to pipeline

2017-03-16 Thread Tomas Pekarovic
thanks. I do as you wrote but now I'm stuck in freezing step. No output, no error, just hanging step. I just can't even debug it On Wed, Mar 15, 2017 at 3:22 PM, Mark Waite wrote: > Conceptually, you may be able to use the "checkout" step from pipeline and > replace the reference to the GitSCM

Re: JClouds Plugin

2017-03-16 Thread Fritz Elfert
Hi, I'm the current maintainer of the jclouds plugin. It normally debends on jclouds-allcompute which should include all official jclouds providers. Since your provider is still in the "labs" category, it is therefore not available. Just add the necessary dependency to https://github.com/jenkins

Re: Bitbucket Multibranch pipeline + webhook (topicus) howto

2017-03-16 Thread Stephen Connolly
If using the latest plugins you just tell Jenkins to turn on the webhook for you On Thu 16 Mar 2017 at 08:01, Dan Tran wrote: > I am able to find the answer here > http://stackoverflow.com/questions/12794568/how-to-configure-git-post-commit-hook > > -- > You received this message because you are

Re: Bitbucket Multibranch pipeline + webhook (topicus) howto

2017-03-16 Thread Dan Tran
I am able to find the answer here http://stackoverflow.com/questions/12794568/how-to-configure-git-post-commit-hook -- 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 emai