Re: Jenkins automate tests and send mail with the version of application

2016-10-18 Thread Rafael Silva
I used curl as you suggested : VERSION=$(curl --request POST 'http://10.200.0.1:8080/page/test.jsf') echo $VERSION | sed -rn 's/.*\Test Version: //;s/\ - Automation.*//p' and result my version ! thanks :-) Em segunda-feira, 17 de outubro de 2016 18:15:17 UTC-2, Sam K escreveu: > > Can you us

Re: Jenkins automate tests and send mail with the version of application

2016-10-17 Thread Sam K
Can you use curl to get the version info, store it into a variable and pass it to the jenkins job? On Monday, October 17, 2016 at 12:45:15 PM UTC-7, Rafael Silva wrote: > > > Hi ! > > I use Jenkins to automate my tests and send me an email with the report > and it's fine. > > But my website has

Jenkins automate tests and send mail with the version of application

2016-10-17 Thread Rafael Silva
Hi ! I use Jenkins to automate my tests and send me an email with the report and it's fine. But my website has a number of new version by week, and I want send this information with the email My site has the version on the footer e.g. Test Version: 0.1 - Automation How I take this numbe