Skip to content

Instantly share code, notes, and snippets.

@jone
Last active December 12, 2015 07:58
Show Gist options
  • Select an option

  • Save jone/4739999 to your computer and use it in GitHub Desktop.

Select an option

Save jone/4739999 to your computer and use it in GitHub Desktop.
sauce jenkins
export REMOTE_URL="http://XXXX:[email protected]:80/wd/hub"
export ZOPE_HOST="localhost"
export ZSERVER_HOST="0.0.0.0"
DESIRED_CAPABILITIES=$(python -c "import os; print dict(map(lambda item: item.split('='), os.environ.get('SELENIUM_DRIVER').split('?', 1)[1].split('&')))")
export DESIRED_CAPABILITIES
BROWSER=$(echo $SELENIUM_DRIVER | perl -pe 's|.*browser=(.*?)&.*|\1|')
export BROWSER
$PYTHON27 bootstrap.py
bin/buildout
bin/test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment