You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ngcp-csc-ui/t/selenium/jenkins_docker_run

13 lines
395 B

#!/bin/bash
# This script is used for running the tests with
# proper arguments from Jenkins under user 'selenium'
set -e
su - selenium -c "cd /code && ./t/selenium/testrunner $*" || RC=$?
## Jenkins will detect errors in produced artifacts if any
## as a result the Jenkins job will be "yellow" instead of "red".
[ -n "${RC}" ] && echo "Masking non-zero exit code '${RC}'"
exit 0 # ${RC:-0}