diff --git a/Jenkinsfile b/Jenkinsfile index 2f3e07f2..5f07f65c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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" diff --git a/doc/news/DM-47806.bugfix.rst b/doc/news/DM-47806.bugfix.rst new file mode 100644 index 00000000..8174781b --- /dev/null +++ b/doc/news/DM-47806.bugfix.rst @@ -0,0 +1 @@ +Fix the container username in Jenkinfile.