withEnv on parallel jobs

2017-09-01 Thread Esdras Neto
Hi there, I was using load to set my variables and it was working fine, however, this wont work with multiple jobs running in parallel. How can I set a bunch of system variables using withEnv and reuse the code? I tried: def LNX_VARS = '''PATH=/path/to/ant/bin:/usr/bin:/sbin',

Re: Send mail from Jenkins with attach conditioned file

2017-09-01 Thread Ana MB
Hi guys! I have a question... from Conditional BuildStep plugin I don't have "Send mail" Option, I show you; How could I send it? Thanks so much!!! El mié

Re: How execute parallel tests

2017-09-01 Thread Ana MB
Hi guys, Any idea how could I solve it? I've been searching but I can't solve it by myself... Thanks so much!!! El jueves, 31 de agosto de 2017, 9:54:23 (UTC+2), Ana MB escribió: > > Hi guys! > > > I need to execute parallel tests in Jenkins (I have 200 tests done with > Selenium Webdriver u

Re: How execute parallel tests

2017-09-01 Thread Ana MB
I've tried to check the following but it doesn't execute 5 tests in parallel... why?? Thanks so much!!! El viernes, 1 de septiembre de 2017, 10:19:18 (UTC+2

Re: Multibranch jobs and webhooks

2017-09-01 Thread Steven Foster
On Friday, September 1, 2017 at 12:18:35 AM UTC+1, Stephen Connolly wrote: > > > Well what it means is that to have hooks automatically managed at the repo > level you need to define the GitHub servers in the global config, enable > managing hooks and provide credentials that can manage hooks (

Re: Send mail from Jenkins with attach conditioned file

2017-09-01 Thread Ana MB
Hi! I've found this way: putting in shell console as a new action in the step and write: mpack -s "Subject here" file u...@example.com Where "file" would be my file I want to attach to the mail.

Re: Lack of memory in server Jenkins?

2017-09-01 Thread Artur Szostak
That is not nearly enough information to tell you anything specific. But I have often traced issues with tests that have your overall symptoms to concurrency issues in the tests themselves, and not related to Jenkins directly. Bottom line, you need to describe your Jenkins jobs and test execution

Support needed for Jenkins Server Specification

2017-09-01 Thread MANIKANDAN BABU
Hi, We are in process of implementing the Jenkins. Recommendation needed for Jenkins server specification handling 200 slaves, with ~100 build steps. Thanks in Advance Manikandan -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsu

Re: Send mail from Jenkins with attach conditioned file

2017-09-01 Thread Richard Ginga
if you add the "Any Build Step" plugin, you can run build steps as post build steps and visa-versa. you need to configure it System Configuration On Fri, Sep 1, 2017 at 4:17 AM, Ana MB wrote: > Hi guys! > > I have a question... from Conditional BuildStep plugin I don't have "Send > mail" Option,

Re: Support needed for Jenkins Server Specification

2017-09-01 Thread Artur Szostak
I think the biggest dependency will be on the number and complexity of jobs. My experience has shown more or less a linear increase in the amount of Memory and I/O performance needed as a function of the number of jobs. One has to count the sub-jobs if dealing with a MatrixJob etc. As for disk sp

Running a command

2017-09-01 Thread test200891
Hi I am new user to Jenkins and am blocked at one point. In my case I created a freestyle project and then in the build I choose "execute windows batch command" and here I want to go a directory and there is a bat file, I would like to run it: To be precise in the command prompt I would like to

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

2017-09-01 Thread luca . milanesio
Not yet, I'm just back from the conference. Need to apply some suggestions from Robert and Jesse and then it'll be ready for publishing. Luca Sent from my iPhone > On 1 Sep 2017, at 07:42, Cuong Tran wrote: > > Hi Luca, > > Have you had a chance to publish this to github? > >> On Friday, Au

Re: Running a command

2017-09-01 Thread Richard Ginga
you wouldjust put this in the batch step: *cd c:\xyz\bin* *call asadmin start-domain * the "call" makes jenkins wait for the batch file to complete On Fri, Sep 1, 2017 at 9:17 AM, wrote: > Hi > > I am new user to Jenkins and am blocked at one point. In my case I created > a freestyle project a

Re: Running a command

2017-09-01 Thread test200891
It worked! Thank you so much. Sorry for the basic question. Regards, Fred On Friday, 1 September 2017 15:32:20 UTC+2, Richard Ginga wrote: > > you wouldjust put this in the batch step: > > *cd c:\xyz\bin* > *call asadmin start-domain * > > the "call" makes jenkins wait for the batch file to compl

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

2017-09-01 Thread 'Ian Smith' via Jenkins Users
Turns out that in the multibranch scan repository it only checks if the file in the Script Path exists on the HEAD. So if I want to check that a new script, that is currently being developed, works with Jenkins then I need to 1. Create a PR that creates a dummy version of the file and then

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

2017-09-01 Thread Stephen Connolly
Likely your PRs are not "trusted". If the PR is "trusted" then the PR's Jenkinsfile can be used. Check what trust strategy you configured when defining the source On 1 September 2017 at 07:13, 'Ian Smith' via Jenkins Users < jenkinsci-users@googlegroups.com> wrote: > Turns out that in the multibr

Re: stop deployment when build fails while using ssh plugin

2017-09-01 Thread Michael Pailloncy
Not sure to understand your issue, could you give more details plz ? Do you have logs ? Just stopping the build is not enough ? 2017-09-01 4:30 GMT+02:00 pandiyan kaliaperumal : > Hi Friends, > > Need to know to stop the deployment, while using ssh plugin when build > gets failed in jenkins. Coul

Re: How to disable concurrent builds in a multibranch pipeline?

2017-09-01 Thread Michael Pailloncy
You might be interested by this thread :-) 2017-08-31 16:58 GMT+02:00 Dallas Clement : > I know how to disable concurrent builds for a particular branch. That > works fine. But h

Re: How to disable concurrent builds in a multibranch pipeline?

2017-09-01 Thread Dallas Clement
Thanks for the tip Michael. This looks like it would work. But not very elegant. Would be better if you could simply disable concurrent builds for an entire multibranch pipeline. Maybe a Jira improvement request? On Friday, September 1, 2017 at 12:29:15 PM UTC-5, mpapo - Michael Pailloncy w

What would help you most when using Jenkins?

2017-09-01 Thread Nicole [MSFT]
My name is Nicole and I work on the engineering team for Developer Tools at Microsoft. I'm working on improving our support for Jenkins in our tools and in Azure and I need your help! I'm trying to understand what are the most time-consuming and/or painful tasks when using Jenkins and what thing

Re: How to disable concurrent builds in a multibranch pipeline?

2017-09-01 Thread Dallas Clement
I created an improvement issue for this in Jira => https://issues.jenkins-ci.org/browse/JENKINS-46593 On Friday, September 1, 2017 at 1:18:34 PM UTC-5, Dallas Clement wrote: > > Thanks for the tip Michael. This looks like it would work. But not very > elegant. Would be better if you could sim

Re: How to disable concurrent builds in a multibranch pipeline?

2017-09-01 Thread Michael Pailloncy
Yes, probably. Seems there are already some discussions about that here : https://issues.jenkins-ci.org/browse/JENKINS-35359 2017-09-01 20:18 GMT+02:00 Dallas Clement : > Thanks for the tip Michael. This looks like it would work. But not very > elegant. Would be better if you could simply disa

User log in or last time logged in history

2017-09-01 Thread Li Z
Is there any way to see user last logged in date (time) in Jenkins? Manage user page only show use userId and name. Thanks -- 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, sen

Re: How to disable concurrent builds in a multibranch pipeline?

2017-09-01 Thread Dallas Clement
Yes, this gent is complaining of the same problem. I think it really needs to be addressed. It's an obvious oversight in the multibranch pipeline. Limiting the # of executors is the way to go. On Friday, September 1, 2017 at 2:07:40 PM UTC-5, mpapo - Michael Pailloncy wrote: > > Yes, probabl

Declarative pipeline docker executeable TCP supported?

2017-09-01 Thread 'Peter Teichner' via Jenkins Users
I've got a quick question: when using declarative pipeline with the agent specified as a docker image how does the pipeline determine where the docker executable is? Is there a way to set a remote docker over TCP? agent { docker { image 'maven:3-alpine' label 'my-defined-labe

Jenkins pipeline and MSBuild 2017

2017-09-01 Thread Reza Etezal
I have been struggling to get msbuild to work properly from the Jenkins pipeline. I am trying to build a number of solution files with a lot of interdependencies. There are about 15 solution files in total, and several dozen csproj files. The first five or so build fine, but the sixth one fails

Re: Declarative pipeline docker executeable TCP supported?

2017-09-01 Thread Reza Etezal
You need to either set it in the Global Tool Confoguration, at the system level https:///configureTools/, or in the Tool Location at the node level https:///computer/BrinkBLD01/configure On Friday, September 1, 2017 at 6:40:32 PM UTC-4, Peter Teichner wrote: > > I've got a quick question: when u

Re: Declarative pipeline docker executeable TCP supported?

2017-09-01 Thread Reza Etezal
You need to either set it in the Global Tool Confoguration, at the system level https:///configureTools/, or in the Tool Location at the node level https:///computer//configure On Friday, September 1, 2017 at 6:40:32 PM UTC-4, Peter Teichner wrote: > > I've got a quick question: when using decl

Re: User log in or last time logged in history

2017-09-01 Thread Daniel Beck
> On 1. Sep 2017, at 14:27, Li Z wrote: > > Is there any way to see user last logged in date (time) in Jenkins? No -- 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 em

Re: Jenkins pipeline and MSBuild 2017

2017-09-01 Thread Ivo Bellin Salarin
You describe the problem as a Jenkins problem. Fine. But the level of logs you have doesn't tell you anything, because that's not the tools which is failing. Don't take me wrong, but you should get the msbuild logs at a debug level, and find out what's different between the executions. The initial