| --- old/Jenkinsfile | |
| +++ new/Jenkinsfile | |
| @@ -15,8 +15,7 @@ | |
| timeout(time: 1, unit: 'HOURS') | |
| } | |
| environment { | |
| - VARIABLES = ${credentials('MOZILLIANS_VARIABLES')} | |
| - PYTEST_ADDOPTS = "-n=10 --color=yes --tb=short --driver=SauceLabs --variables=capabilities.json --variables=${credentials('MOZILLIANS_VARIABLES')}" | |
| + VARIABLES = credentials('MOZILLIANS_VARIABLES') | |
| SAUCELABS_API_KEY = credentials('SAUCELABS_API_KEY') | |
| } | |
| stages { | |
| @@ -26,6 +25,10 @@ | |
| } | |
| } | |
| stage('Test') { | |
| + environment { | |
| + PYTEST_BASE_URL = 'https://mozillians.allizom.org' | |
| + PYTEST_ADDOPTS = "-n=10 --color=yes --tb=long --driver=SauceLabs --variables=capabilities.json --variables=${VARIABLES}" | |
| + } | |
| steps { | |
| writeCapabilities(capabilities, 'capabilities.json') | |
| sh "tox -e py27" | |
| --- old/Script1 | |
| +++ new/Script1 | |
| @@ -1 +1 @@ | |
| -"PYTEST_ADDOPTS=-n=10 --color=yes --tb=short --driver=SauceLabs --variables=capabilities.json --variables=${credentials('MOZILLIANS_VARIABLES')}" | |
| \ No newline at end of file | |
| +"PYTEST_ADDOPTS=-n=10 --color=yes --tb=long --driver=SauceLabs --variables=capabilities.json --variables=${VARIABLES}" | |
| \ No newline at end of file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment