Preferred Git server for Jenkins?

2017-08-31 Thread David Aldrich
Hi Our company uses Subversion for version control but I want to investigate providing a Git server to support Jenkins declarative scripts and Blue Ocean. (I realise that declarative scripts can be stored in Subversion, but I think that Git support for them is better). We have the option of

Re: Preferred Git server for Jenkins?

2017-08-31 Thread Dirk Heinrichs
Am 31.08.2017 um 11:57 schrieb David Aldrich: > We have the option of using: > ·    In-house command-line Git server > ·    In-house Gitlab server > ·    Github > > I believe that Blue Ocean is best supported on Github. Am I correct? > Is there any preference for declarative scripts?

Re: Pipeline: Changed behaviour of checkout scm

2017-08-31 Thread Stephen Connolly
On Thu 31 Aug 2017 at 08:44, Sverre Moe wrote: > From the release note it says it can be added with "Advanced Clone > Behaviours". > > >- Because each branch job in a multibranch project will only ever >build the one specific branch, the default behaviour for a Git

Re: Preferred Git server for Jenkins?

2017-08-31 Thread Andreas Tscharner
On 31.08.2017 11:57, David Aldrich wrote: Hi Our company uses Subversion for version control but I want to investigate providing a Git server to support Jenkins declarative scripts and Blue Ocean.  (I realise that declarative scripts can be stored in Subversion, but I think that Git support

Re: Multibranch jobs and webhooks

2017-08-31 Thread Stephen Connolly
On Thu 31 Aug 2017 at 16:41, Steven Foster wrote: > Hi, > > Multibranch pipeline jobs do not automatically configure Github webhooks, > right? > It's necessary to set up the Jenkins (github plugin) service on the Github > repo and add the Jenkins user as a collaborator?

How to disable concurrent builds in a multibranch pipeline?

2017-08-31 Thread Dallas Clement
I know how to disable concurrent builds for a particular branch. That works fine. But how I can I disable multiple branches from building at the same time? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and

Re: "Scan Multibranch Pipeline Now" triggers immediate build

2017-08-31 Thread Dallas Clement
I removed the "PollSCM" from the "triggers" section of my declarative Jenkinsfile. And then I enabled "Scan multibranch pipeline triggers" and the "Periodically if not otherwise run" option. This method of polling seems to work fine so far. I'm afraid I will need to rely on polling because

Re: "Scan Multibranch Pipeline Now" triggers immediate build

2017-08-31 Thread Stephen Connolly
On 31 August 2017 at 07:06, Dallas Clement wrote: > I removed the "PollSCM" from the "triggers" section of my declarative > Jenkinsfile. And then I enabled "Scan multibranch pipeline triggers" and > the "Periodically if not otherwise run" option. This method of

Multibranch pipeline script path doesn't work with anything other then Jenkinsfile

2017-08-31 Thread 'Ian Smith' via Jenkins Users
Hi, I'm trying to run two distinct pipelines from one repo. So currently I have an existing multibranch pipeline that uses a Jenkinsfile at the top of the repo. This is triggered on both an update to a PR branch and when a merge to the HEAD happens on github. I want a second pipeline to only

Re: "Scan Multibranch Pipeline Now" triggers immediate build

2017-08-31 Thread Steven Foster
About scan repository triggers, I generated multibranch jobs with a jobDSL and replaced "periodic" with "cron" to avoid a huge amount of indexing happening at once. Is that supposed to even be an option? Since it's not in the configuration UI. -- You received this message because you are

How can I tail the console output for a failed pipeline build?

2017-08-31 Thread Dallas Clement
I am working with multibranch pipeline builds and I want to be able to tail the end of the console output to include in build failure email notifications. I can see where the log file is located in the filesystem under /var/lib/jenkins/jobs//branches//builds/5 The build log appears to have

Re: "Scan Multibranch Pipeline Now" triggers immediate build

2017-08-31 Thread Stephen Connolly
On Thu 31 Aug 2017 at 17:00, Steven Foster wrote: > About scan repository triggers, I generated multibranch jobs with a jobDSL > and replaced "periodic" with "cron" to avoid a huge amount of indexing > happening at once. Is that supposed to even be an option? Since it's

stop deployment when build fails while using ssh plugin

2017-08-31 Thread pandiyan kaliaperumal
Hi Friends, Need to know to stop the deployment, while using ssh plugin when build gets failed in jenkins. Could any one suggest. Thanks, Pandi -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop

Re: Send mail from Jenkins with attach conditioned file

2017-08-31 Thread Ana MB
I tried to do it with Email-ext plugin but it returns an error because of the un-existed file. How would be the pattern? Thanks so much! El miércoles, 30 de agosto de 2017, 14:53:30 (UTC+2), slide escribió: > > Email-ext will do this. You just supply a pattern for the files you want >

Re: Send mail from Jenkins with attach conditioned file

2017-08-31 Thread Ana MB
Ok, I'll test it!! Thanks so much! El miércoles, 30 de agosto de 2017, 21:17:31 (UTC+2), Jackson, Randy escribió: > > You might also want to look into the Conditional BuildStep plugin. It has > a “File Exists” conditional. > > > > *From:* jenkins...@googlegroups.com [mailto: >

Re: Pipeline: Changed behaviour of checkout scm

2017-08-31 Thread Sverre Moe
>From the release note it says it can be added with "Advanced Clone Behaviours". - Because each branch job in a multibranch project will only ever build the one specific branch, the default behaviour for a Git Branch Source is now to use a minimal refspec corresponding to just the

How execute parallel tests

2017-08-31 Thread Ana MB
Hi guys! I need to execute parallel tests in Jenkins (I have 200 tests done with Selenium Webdriver under Eclipse), I've tried to do it with the following code in my pom.xml file with no luck: maven-compiler-plugin 3.5.1 1.8 1.8