Unable to connect slaves after enabling security

2017-03-15 Thread jbdundas
Hi, We are running into a serious problem which is causing us to disable security on our Jenkins instance(Jenkins ver. 2.7.2 ). 1) We have about 5 slaves which are connected to this Jenkins right now and they run fine without security. 2) Now, we are trying to enable s

Does there is a Coverity Fix Trend Plugin

2017-03-15 Thread Bubunia Patra
Hi, I was curious to know whether we have a opensource Jenkins plugin to show the coverity trend to show the fixing trend in graphs and charts ? Regards Pradeep -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group

Bitbucket Multibranch pipeline + webhook (topicus) howto

2017-03-15 Thread Dan Tran
Hi I am very new to BitBucket admin and currently trying to enable Topicus' webhook[1] with work with multi-branch pipeline with no success It will be very much appreciated for someone already using this combination before to give some hint or reference readings I do have a working multi bran

CloudBees OSS Demo Day

2017-03-15 Thread Patrick Wolf
Hi, everyone. We didn't have a Demo Day in February because we had an Online JAM to highlight the release of Declarative Pipeline. For March the demonstration will take place tomorrow (3/16) at 8:00 AM PDT (3 PM UTC). This will be recorded and available on YouTube here: https://www.youtube.com/w

How to pass in a param into Multi branch pipeline

2017-03-15 Thread Dan Tran
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 groovy will detect and flip the param However, I can't find any hook into those 2 options at top folder level Thoughts? -D to be more concrete, this pa

Re: What is the freestyle "inject environment variables" equivalent inside blue ocean pipelines?

2017-03-15 Thread Bill Dennis
Hey - You don't have to 'cat' the file, there is a readFile pipeline step you can use: MY_SECRET_FILE_CONTENT = readFile MY_SECRET_FILE On Friday, 10 March 2017 10:28:42 UTC, jeremy@wonderful.fr wrote: > > Hi Bill. > After many workarounds, I've finally hacked together a script that works

Re: Trigger secondjob after some delay of first job execution

2017-03-15 Thread Bill Dennis
Should have been: sleep time: 1, unit: 'HOURS' On Wednesday, 15 March 2017 23:25:44 UTC, Bill Dennis wrote: > > Hi - > > You can do it with a declarative pipeline job to orchestrate running your > test and log collection jobs. > > Something like this using 'agent none' so you don't tie up exec

Re: Trigger secondjob after some delay of first job execution

2017-03-15 Thread Bill Dennis
Hi - You can do it with a declarative pipeline job to orchestrate running your test and log collection jobs. Something like this using 'agent none' so you don't tie up executors when waiting at any point: pipeline { agent none stages { stage('Build') { steps {

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

2017-03-15 Thread Stephen Connolly
On Wed 15 Mar 2017 at 21:37, Dan Tran wrote: > > Hi > > According to version 2.1.1 of BitBucket Branch Source Plugin [1], I need > this Topicus Post WebHook for BitBucket [2] > > However, our BitBucket server already installed the one from Atlassian > Labs

Multi branch pipeline and Bitbucket Server Web Post Hooks Plugin

2017-03-15 Thread Dan Tran
Hi According to version 2.1.1 of BitBucket Branch Source Plugin [1], I need this Topicus Post WebHook for BitBucket [2] However, our BitBucket server already installed the one from Atlassian Labs [3] The question here do I really need to instal

Re: parallel remote trigger builds in a pipeline

2017-03-15 Thread Eric Pyle
I played around with this a bit, with a couple of freestyle jobs that do nothing except sleep a while and then finish. I confirmed that, whether I set the 'wait' property or not, both freestyle jobs are more or less immediately triggered if they are in a parallel block. If wait is set to true (

Vsphere Cloud plugin stops working after a number of builds

2017-03-15 Thread Jorge Peña Cotarelo
Hello everyone, I am using the Vsphere Cloud plugin to spin Jenkins agents (slaves) on demand in new virtual machines using linked clones and keep-until-idle retention strategy. In the Jenkins instance there are a mix of "static virtual machines" Jenkins agents and Jenkins agents on demand The

Re: parallel remote trigger builds in a pipeline

2017-03-15 Thread Chris Overend
I assume you have "Block until the remote triggered projects finish their builds." = False? - Does it not just set your 'done' variable to true as soon as the remote build starts, since it does not block or wait. - Also with this set to False it does not get the log of the remote bu

Re: parallel remote trigger builds in a pipeline

2017-03-15 Thread Eric Pyle
I did something similar by defining a 'done' variable for each parallel project, initialized to false, and set to true when the project is complete. Then in the downstream steps I used the waitUntil step to block the downstream step from starting until the 'done' variable was true for the corre

How to properly use parallels in pipelines

2017-03-15 Thread Chris Overend
*parallel* ( 'windows': { stage('windows tests') { *parallel* ( *stage*('some_tests_1') { *parallel* ( some_tests_1, # is a chunk of tests ) }

Re: jenkins-test-harness - howto install plugins (from pom.xml)

2017-03-15 Thread Torsten Reinhard
See further details and the solution at https://groups.google.com/forum/#!topic/job-dsl-plugin/aptWphG0MZQ -- 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 jenk

Re: Own plugin - add to pipeline

2017-03-15 Thread Mark Waite
Conceptually, you may be able to use the "checkout" step from pipeline and replace the reference to the GitSCM class with a reference to the class which implements your git plugin. Use the "Pipeline Syntax" in your Jenkins installation, choose "checkout" as the step, choose Git, then generate the

parallel remote trigger builds in a pipeline

2017-03-15 Thread Chris Overend
#!groovy import hudson.model.* stage('Testing') { parallel ( ['windows_remote': {build job: 'remote_trigger_30', parameters: [string(name: 'branch_name', value: branch_name)]}, 'linux_remote': {build job: 'remote_trigger_60', parameters: [string(name: 'branch_name', value: b

Own plugin - add to pipeline

2017-03-15 Thread Tomas Pekarovic
Hello all, I recently started to use pipeline (jenkins 2+) to create better and easier to use build processes. On latest project I found one problem. We have our *own* GIT PLUGIN that do some other stuff as others plugins. I'm looking for a way how to use this plugin in pipeline script. Is thi

Re: Nexus plugins can't connect to my fresh Nexus install

2017-03-15 Thread Dominic Murphy
I'm receiving the same error here as Arnaud and Patrick's fix didn't work for me. Also using Nexus 3. Anyone managed to get this to work yet? Thanks On Thursday, 17 November 2016 10:14:30 UTC, Arnaud wrote: > > Hi > > I installed both "Nexus Jenkins plugin" and "Nexus task runner plugin", > b