Re: [Announce] Gerrit CI workflow to become a brand-new Jenkins plugin

2017-08-31 Thread Cuong Tran
Hi Luca, Have you had a chance to publish this to github? On Friday, August 18, 2017 at 2:17:00 AM UTC-7, Luca Milanesio wrote: > > Posting to the jenkinsci-users mailing list as well: even if I mainly > needed feedback from the plugins developers, feedback from a > user-perspective of the new

Is there a way to filter based on a project type?

2017-08-31 Thread kalyanasundaram s
Sorry if this is a novice question. I can't find a way around. While using the Jenkins remote api, is there a project type which i can use to filter? I wanted to take the jobs from all free style projects and ignore the Folders. How do I do this? I see there is a _class attribute, can I rely on i

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 receiving

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? > > Just wanted to make su

Pipeline Won't Abort ---- Windows

2017-08-31 Thread Bryan Jones
Hi, we're deploying our Windows app via Jenkins. We're leaning heavily on pipelines (which have been great so far!). We're using version 1.651.1 (I know it's old, but we're stuck w/ it for now). However, we have an issue: While the pipeline was running, one of our engineers aborted one of the

Re: "Scan Multibranch Pipeline Now" triggers immediate build

2017-08-31 Thread Steven Foster
On Thursday, August 31, 2017 at 5:55:27 PM UTC+1, Stephen Connolly wrote: > > Periodic randomly levels all jobs > Ah, my mistake. What I was noticing was a symptom of something else (user error) -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group.

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 not in > the configuration

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 t

RE: Preferred Git server for Jenkins?

2017-08-31 Thread David Aldrich
Hi Dirk and Andreas Thanks for your answers, Best regards David -- 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.

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 subsc

Multibranch jobs and webhooks

2017-08-31 Thread Steven Foster
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? Just wanted to make sure my understanding was correct before I give people the wrong

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 t

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 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 polling > seems to work fine so f

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 o

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 f

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?

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 u

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 Branch >Source is n

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

Re: Jenkins doesn't run test, why?

2017-08-31 Thread Ana MB
I checked "Delete workspace before build starts" in the configuration options and it worked fine. Thanks! El miércoles, 30 de agosto de 2017, 12:48:27 (UTC+2), Ana MB escribió: > > Hi guys! > > When I try to run tests from Jenkins, (sometimes) I get the following info: > > chrome-vnc_1 | Faile

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: > jenkins...@goo

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 > attach

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 req