Kubernetes slaves in parallel

2017-02-01 Thread Lionel Orellana
Hi I have a pipeline with a podTemaplate definition from the Kubernetes plugin to create slaves on Openshift. Something like this. podTemplate(name: 'jenkins-slave', label: 'kube-node', instanceCap: 4, containers: [ containerTemplate( name: 'maven', image:

Pipeline: aborting an input step marks the stage as failed

2016-12-12 Thread Lionel Orellana
Hi, Consider this stage step with a body and an input step. stage ('Deploy') { input 'Ready to deploy?' ... } If the user clicks Abort on the manual input step the stage is marked as failed. If the input step is moved outside of the stage then the dialog doesn't come up when the user

Re: Secure Jenkins and mutlibranch github pipeline trigger

2016-10-06 Thread Lionel Orellana
for my > multibranch job. Is there anything I am missing? > > Thanks > > On Monday, May 9, 2016 at 9:08:52 PM UTC+8, Lionel Orellana wrote: >> >> >> Apologies for my rather disorganised thought process in this thread. >> >> I just found the 'Re

Re: Git Polling fails after upgrade

2016-07-01 Thread Lionel Orellana
plugin 2.5.0. > > On Thu, Jun 30, 2016 at 10:55 PM Lionel Orellana <lion...@gmail.com > > wrote: > >> Not related to my original problem which was fixed with one of the latest >> builds, there is an issue with the Git plugin. >> >> I get the errors I mentioned bef

Re: Git Polling fails after upgrade

2016-06-30 Thread Lionel Orellana
13:37:03 UTC+10, Lionel Orellana wrote: > > If I upgrade the Git plugin to 2.5.0 from 2.4.4 I get > > SEVERE: found cycle in plugin dependencies: (root=Plugin:git, deactivating > all involved) Plugin:git -> Plugin:workflow-scm-step -> Plugin:git > > and all hell

Re: Git Polling fails after upgrade

2016-06-30 Thread Lionel Orellana
. > > Seems to be documented as a bug in Jenkins 2.11, > https://issues.jenkins-ci.org/browse/JENKINS-36232 . Your could roll > back to Jenkins 2.10, or build from the latest source code. > > Mark Waite > > On Thu, Jun 30, 2016 at 9:20 PM Lionel Orellana <lion...@gmail.com > >

Re: Git Polling fails after upgrade

2016-06-30 Thread Lionel Orellana
a:1326) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079) and a few more similar errors. On Friday, 1 July 2016 13:20:12 UTC+10, Lionel Orellana wrote: > > Hi, > > I just upgraded from 2.10 to 2.11 not expecting much to change but I'm > getting this error n

Re: How to break a pipeline manually?

2016-06-29 Thread Lionel Orellana
Thanks Sverre. That marks the build as failed though. Doing a return between nodes is what I was looking for to exit without changing the build result. On Wednesday, 29 June 2016 17:20:34 UTC+10, Sverre Moe wrote: > > You could use the error step: > error 'Error message' > >

Re: How to break a pipeline manually?

2016-06-29 Thread Lionel Orellana
early and never print "43". > > On Wednesday, June 29, 2016 at 2:28:37 PM UTC+10, Lionel Orellana wrote: >> >> From what I've tried simply returning doesn't stop the execution of the >> script. >> >> If you throw an exception the result seems

Re: How to break a pipeline manually?

2016-06-28 Thread Lionel Orellana
>From what I've tried simply returning doesn't stop the execution of the script. If you throw an exception the result seems to always be FAILURE. I would like to know if there is a way to stop execution but leave the result as say UNSTABLE. On Monday, 30 May 2016 18:38:41 UTC+10, Michael

Re: Pipeline and SonarQube

2016-06-27 Thread Lionel Orellana
A workaround is to have a freestyle job do the sonar analysis and call that from the pipeline. I'll see if I can jump in and do some work in the SonarQube plugin though. On Monday, 27 June 2016 21:54:24 UTC+10, Lionel Orellana wrote: > > Some work seems to be happening here: &

Re: Pipeline and SonarQube

2016-06-27 Thread Lionel Orellana
ipeline (i.e. a `sonar` step that > prepares the environment and execute the analysis using any predefined > goals (with any predefined options). > > On Mon, Jun 27, 2016 at 9:06 AM, Lionel Orellana <lione...@gmail.com> > wrote: > >> Hi, >> >> I have a j

Pipeline and SonarQube

2016-06-27 Thread Lionel Orellana
Hi, I have a job where I use the SonarQube plugin option to "Prepare SonarQube Scanner environment" and then run the sonar maven goal like this: $SONAR_MAVEN_GOAL -Dsonar.host.url=$SONAR_HOST_URL $SONAR_EXTRA_PROPS How can I do this in Pipeline? I would image I can Prepare SonarQube

Re: Secure Jenkins and mutlibranch github pipeline trigger

2016-05-09 Thread Lionel Orellana
. On Saturday, 7 May 2016 16:38:49 UTC+10, Lionel Orellana wrote: > > Well seems like the solution would for the GitHub Plugin to support > Multibranch pipelines > > On Saturday, 7 May 2016 12:29:22 UTC+10, Lionel Orellana wrote: >> >> Hi All >> >> How can I trigger

Re: Secure Jenkins and mutlibranch github pipeline trigger

2016-05-07 Thread Lionel Orellana
Well seems like the solution would for the GitHub Plugin to support Multibranch pipelines On Saturday, 7 May 2016 12:29:22 UTC+10, Lionel Orellana wrote: > > Hi All > > How can I trigger a build on a multibranch pipeline where there is a push > in github and Jenkins requires

Re: Secure Jenkins and mutlibranch github pipeline trigger

2016-05-06 Thread Lionel Orellana
Invoking without the branch name in the url triggers the indexing job of course. So it seems I need a different webhook per branch? On 7 May 2016 at 14:17, Lionel Orellana <lione...@gmail.com> wrote: > Actually something's not quite right. > > Firstly, the configuration in

Re: Secure Jenkins and mutlibranch github pipeline trigger

2016-05-06 Thread Lionel Orellana
feels like this should work out of the box and I'm doing something very silly. And yet, invoking the url with curl triggers the build. Seems like a UI problem. On Saturday, 7 May 2016 12:29:22 UTC+10, Lionel Orellana wrote: > > Hi All > > How can I trigger a build on a mult

Re: Secure Jenkins and mutlibranch github pipeline trigger

2016-05-06 Thread Lionel Orellana
Sorry found my answer. Nothing to do with pipeline. http://:@/job//build?token=job token On Saturday, 7 May 2016 12:29:22 UTC+10, Lionel Orellana wrote: > > Hi All > > How can I trigger a build on a multibranch pipeline where there is a push > in github and Jenkins requires

Secure Jenkins and mutlibranch github pipeline trigger

2016-05-06 Thread Lionel Orellana
Hi All How can I trigger a build on a multibranch pipeline where there is a push in github and Jenkins requires authentication. I tried "Trigger builds remotely (e.g., from scripts)" but the token generated here isn't enough for a github webhook to authenticate with Jenkins. Github throws

Re: 2.0 Pipeline - input step with choice param fails

2016-05-04 Thread Lionel Orellana
Cool. Gracias. On 4 May 2016 at 18:43, Antonio Muñiz <amu...@cloudbees.com> wrote: > > On Sun, May 1, 2016 at 4:21 PM, Lionel Orellana <lione...@gmail.com> > wrote: > >> Any ideas? > > > Filed https://issues.jenkins-ci.org/browse/JENKINS-3459

Re: Proxy for branch indexing in multibranch pipeline

2016-05-02 Thread Lionel Orellana
It was the switch from the Git branch source to the GitHub branch source what probably fixed mine. I only found there was a github one whe I upgraded. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop

2.0 Pipeline - input step with choice param fails

2016-05-01 Thread Lionel Orellana
Hello I got this code from the snippet generator to capture user input with a Choice Parameter: input message: 'where do you want to build this?', parameters: [[$class: 'ChoiceParameterDefinition', choices: ['ec2', 'docker'], description: '', name: 'label']] When I add it to my pipeline it

Re: Jenkins 2.x Pipeline - parametrized build, parameters are not evaluated in Git

2016-05-01 Thread Lionel Orellana
Doesn't the Pipeline Multibranch Plugin do what you want? Still sounds like a bug though. On Friday, 8 April 2016 17:06:59 UTC+10, thomas@teamaol.com wrote: > > I tested that with the first release candidate. > *The

Re: Proxy for branch indexing in multibranch pipeline

2016-04-29 Thread Lionel Orellana
Upgrading from 1.656 to 2.0 fixed it. The GitHub Branch Source Plugin is probably what made the difference. I was using a Git (as opposed to GitHub) branch source before. On Friday, 29 April 2016 15:51:58 UTC+10, Lionel Orellana wrote: > > Hi > > I have a proxy configured i

Proxy for branch indexing in multibranch pipeline

2016-04-28 Thread Lionel Orellana
Hi I have a proxy configured in my Jenkins settings (Manage Plugins -> Advanced). I'm pretty sure this is what makes freestyle jobs and Pipelines set the proxy before connecting to github. Here's the output from a Pipeline job: > /opt/rh/devtoolset-2/root/usr/bin/git config --local

gitcredentials in Pipeline

2016-04-28 Thread Lionel Orellana
Hi I have a personal access token in my github account which I have added as a Credential in Jenkins. In freestyle jobs I can select the credential when configuring the git repository. This results in the token being used to configure gitcredentials when the job runs. using .gitcredentials

Re: Access control in pipeline input step

2016-04-28 Thread Lionel Orellana
Great. Thanks. On 28 April 2016 at 17:45, Daniel Beck <m...@beckweb.net> wrote: > > > On 28.04.2016, at 04:23, Lionel Orellana <lione...@gmail.com> wrote: > > > > How can I restrict who can actually approve a manual (i.e. input) step > in a pipeline? If I have

Access control in pipeline input step

2016-04-27 Thread Lionel Orellana
Hi How can I restrict who can actually approve a manual (i.e. input) step in a pipeline? If I have a "Deploy to PROD" step I only want people with a particular role to be able to approve. Am I going about it the wrong way? Thanks Lionel. -- You received this message because you are

Re: Jenkins can't find existing artifacts

2016-04-26 Thread Lionel Orellana
Or **/logfiles/* -- 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 visit