You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by tarjei <ta...@nu.no> on 2008/03/17 17:32:09 UTC

Getting the buildnumber in the test

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, I'm using Continuum with Maven and TestNG and Selenium (yep, that's
a lot of buzzwords).

Now, I need to find a way to get the current buildnumber when I run the
tests so I can save error information together with the build that
generated the errors.

The information I am trying to save, is images, so it is not possible to
save them int STDOUT or something like that.

So, is there a way to get the buildnumber into the test as a variable?

Kind regards,
Tarjei
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFH3p0JYVRKCnSvzfIRAm3rAJ0bOd4yrCLYREJhEDlPNa8/1yOqCQCXeyAN
VCE17QIN334jFWpOBGQ1/A==
=+z5Y
-----END PGP SIGNATURE-----

Re: Getting the buildnumber in the test

Posted by Martin Höller <ma...@xss.co.at>.
On Monday 17 March 2008 tarjei wrote:
> So, is there a way to get the buildnumber into the test as a variable?

See this thread for more information:
http://www.nabble.com/continuum.project.currentBuild.number-to16012461s177.html#a16012461

hth,
- martin