Re: GMail SMTP (aws: Re: How to Run Selenium Script With Jenkins through Git)

2015-12-03 Thread Richard Bywater
No problem. It would be nice for the SMTP message to be a bit clearer! Richard. On Fri, 4 Dec 2015 6:42 pm dhrumil shah wrote: > Yes Richard I have turn on authentication and now its working. > So thank you very much for your suggestion. > > > On Friday, December 4,

Re: GMail SMTP (aws: Re: How to Run Selenium Script With Jenkins through Git)

2015-12-03 Thread dhrumil shah
Yes Richard I have turn on authentication and now its working. So thank you very much for your suggestion. On Friday, December 4, 2015 at 1:49:06 AM UTC+5:30, Richard Bywater wrote: > > Do you have 2-step authentication turned on? If so, as per the linked > support page, you'll need to create an

Re: Combination triggers possible?

2015-12-03 Thread Victor Martinez
Hi, I've not found any plugin in order to pause Project A for X minutes, but you could add some shell script to 'sleep 1200' and then run a postbuild action to trigger Project B It's not the smarter solution at all, maybe someone else can give a better proposal Cheers On Thursday, 3

Regular expression for conditional build step?

2015-12-03 Thread David Aldrich
Hi I am using the multi-branch plugin to run a job on multiple branches and the trunk. I want to add a conditional build step that is only executed on the trunk. So I'm thinking of adding a conditional build step that uses a regular expression to check whether $WORKSPACE contains 'trunk'. I

Re: Build flow "build" function doesn't return a build object if FAILED or UNSTABLE

2015-12-03 Thread Valeriy Leykin
Hi Christofer, Actually this is exactly what is written aline before (def BUILD_TO_RETURN). The problem is that when build is UNSTABLE or FAILED exception is being thrown without returning from the build method. Regards, Valeriy On Wednesday, December 2, 2015 at 2:41:12 AM UTC+2, Christopher

GMail SMTP (aws: Re: How to Run Selenium Script With Jenkins through Git)

2015-12-03 Thread Dirk Heinrichs
Am 03.12.2015 um 14:04 schrieb dhrumil shah: > I have tried with number of ways but it gives error. Here I have attached > screenshot of my configuration. So can you please check > and update me what was the issue here. Guess you need to check "Use SSL". HTH... Dirk PS: Please start new

Re: GMail SMTP (was: Re: How to Run Selenium Script With Jenkins through Git)

2015-12-03 Thread Dirk Heinrichs
Am 03.12.2015 um 14:24 schrieb dhrumil shah: > I have already done with that. but still got error like below Well, it tells you what to do: > Please log in via your web browser and then try again. Learn more at > https://support.google.com/mail/answer/78754 Did you try that, too? Bye...

Re: GMail SMTP (was: Re: How to Run Selenium Script With Jenkins through Git)

2015-12-03 Thread dhrumil shah
Hello Dirk, Yes I have tried with login on my account from browser too. and also restart the jenkins. But still got the same issue. On Thursday, December 3, 2015 at 7:01:56 PM UTC+5:30, Dirk Heinrichs wrote: > > Am 03.12.2015 um 14:24 schrieb dhrumil shah: > > I have already done with that. but

RE: Regular expression for conditional build step?

2015-12-03 Thread David Aldrich
Have tried a bit harder. WORKSPACE is: C:\Jenkins\workspace\VS2010_all_branches_and_trunk\trunk Jenkins replies: Regular expression run condition: Expression=[.*\\trunk.*], Label=[${ENV,VAR=WORKSPACE}] Run condition [Regular expression match] preventing perform for step [Execute Windows

Re: GMail SMTP (aws: Re: How to Run Selenium Script With Jenkins through Git)

2015-12-03 Thread dhrumil shah
Hello Dirk, I have already done with that. but still got error like below Total time: 0 seconds Sending e-mails to: dhrumil.s...@attuneww.com ERROR: 534-5.7.14

Re: How to Run Selenium Script With Jenkins through Git

2015-12-03 Thread dhrumil shah
Hello Mark, When I tried to configure my email address on Jenkins server then it always give me error below Total time: 0 seconds Sending e-mails to: dhrumil.s...@attuneww.com ERROR: Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1javax.mail.MessagingException

Jenkins Console Log data fetching into variable to attach in Email :

2015-12-03 Thread sumanth veera
Hi All... Currently we have selenium script running in Jenkins to test in Development, QA, Production under single job. Everytime we change Environment manually in configuration.xls file as part of selenium script as seen below Selenium script wil take above URL specified in Environment

[workflow] How do you approach multiproject builds in workflow?

2015-12-03 Thread Derek VerLee
Hi, Just wondering what the most common approach is to handling multiple projects, some of which have interdependencies? IE, do you orchestrate with one "parent" workflow build that evokes other jobs, or do you make "one big workflow" for your whole team? We have several projects, some of

Re: GMail SMTP (aws: Re: How to Run Selenium Script With Jenkins through Git)

2015-12-03 Thread Richard Bywater
Do you have 2-step authentication turned on? If so, as per the linked support page, you'll need to create an app password specific to Jenkins. Richard. On Fri, 4 Dec 2015 at 02:24 dhrumil shah wrote: > Hello Dirk, > > I have already done with that. but still got

Re: Jenkins Console Log data fetching into variable to attach in Email :

2015-12-03 Thread Victor Martinez
Hi, If you want to use a more standard way (IMO) I recommend you the below approach, then you won't need to worry about parsing any console output at all If you generate those environment variables on the fly then you can inject properties during the build phase via

Re: Forking a process in Workflow

2015-12-03 Thread Mark Bidewell
In case anyone sees this, I will post my workaround. 1) use writeFile to write the command-line to a file 2) create a script that reads the file, and does a fork-exec using the file contents as a command-line. On Monday, November 30, 2015 at 8:34:48 PM UTC-5, Mark Bidewell wrote: > > I am using

Re: Build flow "build" function doesn't return a build object if FAILED or UNSTABLE

2015-12-03 Thread Stefan Thomasson
Hi, >From my experience Build flow do not throw an exception if the build is >aborted, unstable or failed, assuming the build actually started and completed >normally. I assume you have checked what exception was caught. > 3 dec 2015 kl. 10:51 skrev Valeriy Leykin : > >

Re: Combination triggers possible?

2015-12-03 Thread uscengineer
Thanks Victor for the reply. I was able to use a work around and so far seems good enough. This is what I did. Schedule Project A to build at the top of the hour. Added a post build step to trigger a build on Project B On Project B I added a quiet period of 1200 and a pre-requisite build step

Re: [workflow] How do you approach multiproject builds in workflow?

2015-12-03 Thread Andrew Bayer
This is a really good question. The most Workflow-y way to do this would be the "one big workflow" model. My instincts, admittedly, are to break it up more so that each project can be built independently as well as part of the whole Workflow - I haven't yet found an elegant way to do that in a