groupon / DotCi

DotCi Jenkins github integration, .ci.yml http://groupon.github.io/DotCi
MIT License
500 stars 73 forks source link

Add ability to define global variables for DotCI jenkins #56

Open alexkogon opened 10 years ago

alexkogon commented 10 years ago

It would be great to define variables for a Jenkins installation which can be substituted in to a .ci.yml script; for example:

SELENIUM_GRID_URL (which could be different for different DotCI installations)

TEST_BROWSER_LIST

so that I could say in .ci.yml:

for (browser in ${TEST_BROWSER_LIST}) { mvn test -DGRID_URL=${SELENIUM_GRID_URL} -Dwebdriver.browser=browser }

alexkogon commented 10 years ago

SELENIUM_GRID_URL - this is resolved with the Jenkins envinject plugin.

The TEST_BROWSER_LIST issue however does not work, because DotCI does not parse the environment variables for the .ci.yml before it processes it.