Skip to content

Commit

Permalink
Merge pull request #914 from lsst-ts/tickets/DM-47806
Browse files Browse the repository at this point in the history
Tickets/dm47806: Fix container username
  • Loading branch information
rbovill authored Nov 26, 2024
2 parents 89b875e + 2f2a0dd commit 396dbee
Show file tree
Hide file tree
Showing 2 changed files with 3 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
1 change: 1 addition & 0 deletions doc/news/DM-47806.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix the container username in Jenkinfile.

0 comments on commit 396dbee

Please sign in to comment.