Skip to content

Commit

Permalink
Update Docker image user from 'appuser' to 'saluser'.
Browse files Browse the repository at this point in the history
  • Loading branch information
rbovill committed Nov 7, 2024
1 parent efe7f38 commit 323578e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ pipeline {
steps {
script {
sh """
docker run --name ${container_name} -di --rm -v ${WORKSPACE}:/home/appuser/trunk/ts_xml -w /home/appuser/trunk/ts_xml lsstts/robot:latest
docker exec -u appuser -w /home/appuser/trunk/ts_xml ${container_name} sh -c "python3 -m pip install .[test] && \
docker run --name ${container_name} -di --rm -v ${WORKSPACE}:/home/saluser/trunk/ts_xml -w /home/saluser/trunk/ts_xml lsstts/robot:latest
docker exec -u saluser -w /home/saluser/trunk/ts_xml ${container_name} sh -c "python3 -m pip install .[test] && \
pytest -ra -o junit_family=xunit2 --junitxml=tests/results/results.xml"
docker stop ${container_name}
echo "Test complete"
Expand Down

0 comments on commit 323578e

Please sign in to comment.