Re: Capture html just before an error execution?

2017-12-11 Thread Ana MB
Does anybody know why is it happening? Thanks so much!!! El jueves, 7 de diciembre de 2017, 13:27:32 (UTC+1), Ana MB escribió: > > But it work only when a test is SUCCESS. > I need it when a test is FAILED,.. and I'm not able to get it. > > I've tried with this conditions, but it doesn't w

Re: Capture html just before an error execution?

2017-12-11 Thread Ana MB
Well,... I've realized that it can't be work if the test fails because in this case, the tests doesn't finish and doesn't call to "takeScreenshot()" method in the code So... what could be the solution to take a screenshot of a webpage in case the test fails??? Thanks so much El jueve

Re: Capture html just before an error execution?

2017-12-11 Thread Ana MB
Done! with this: try{ driver.findElement(By.xpath(".//*[@id='reserva']")).click(); } catch (Exception e) { takeScreenshot(driver,e); } finally { driver.close(); } It works! El lunes, 11 de diciembre de 2017, 10:31:39 (UTC+1), Ana MB escribió: > > Well,... I've realized that it c

Email When Slave Goes Offline?

2017-12-11 Thread John Bobinyec
Is there some way to send an admin an email when the master notices that a slave has gone offline? Thanks, John Bobinyec -- 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

Re: Email When Slave Goes Offline?

2017-12-11 Thread Dirk Heinrichs
Am 11.12.2017 um 14:27 schrieb John Bobinyec: > Is there some way to send an admin an email when the master notices > that a slave has gone offline? You could run a job that checks your agents periodically. However, that's what monitoring systems have been invented for. HTH...     Dirk -- *Dir

RE: Email When Slave Goes Offline?

2017-12-11 Thread David Aldrich
Look at Mail Watcher plugin. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of John Bobinyec Sent: 11 December 2017 13:27 To: Jenkins Users Subject: Email When Slave Goes Offline? Is there some way to send an admin an email when the master notices tha

Docker Plugin - Jenkins doesn't have label....

2017-12-11 Thread Mandy Hubbard
Using the Docker Plugin to run Jenkins agents in containers, I often get the error "Jenkins doesn't have label " even when I have the template configured properly and the Docker image is already present on the Docker host. I have sometimes been able to fix it by removing the image and re-pulli

Re: Docker Plugin - Jenkins doesn't have label....

2017-12-11 Thread nicolas de loof
sounds to me this is more or less https://issues.jenkins-ci.org/browse/JENKINS-48490 which is a recurrent issue. Still looking for a definitive fix 2017-12-11 17:49 GMT+01:00 Mandy Hubbard : > Using the Docker Plugin to run Jenkins agents in containers, I often get > the error "Jenkins doesn't h

Re: Docker Plugin - Jenkins doesn't have label....

2017-12-11 Thread Mandy Hubbard
Thanks for the reply, Nicolas. Can't say it is the response I was hoping for but at least I know it's not just me. I've had it working many times before so I knew I had configured it correctly. Any hints for working around this for now? I tried restarting Jenkins but it didn't help. On Mon