Return a result value from shell script for tests in Docker container to Jenkins CI
I want to use Jenkins CI to execute my automated end2end tests. My tests are running with Nightwatch.js. I want to run my automated tests in a self created docker container via a shell script. This shell script runs on local machine perfect, but if I start this shell script in Jenkins CI the shell script has to return a value, if the tests pass or fail. If they pass the Jenkins job has to pass too. And when the tests in Docker container fail then the Jenkins job has to fail, too. Here is my current shell script: #run the end2end tests headless in docker container from local with remote reposit
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.