The Jenkinsfile used on the old Jenkins server did not work on the new one due to differences in the setup, e.g. the old Jenkins being in a docker container itself and the new one running directly in the OS. The UID and GID for the oqapi user inside the Docker container and the jenkins user in the jenkins workspace had to be matched and we had to mount the jenkins tools directory into the docker container to user sonar scanner.
Checklist
- [ ] I have updated my branch to main (e.g. through git rebase main)- [ ] My code follows the style guide and was checked with pre-commit before committing- [ ] I have commented my code- [ ] I have added sufficient unit and integration tests- [ ] I have updated the CHANGELOG.md
Description
The Jenkinsfile used on the old Jenkins server did not work on the new one due to differences in the setup, e.g. the old Jenkins being in a docker container itself and the new one running directly in the OS. The UID and GID for the oqapi user inside the Docker container and the jenkins user in the jenkins workspace had to be matched and we had to mount the jenkins tools directory into the docker container to user sonar scanner.
Checklist
- [ ] I have updated my branch tomain
(e.g. throughgit rebase main
)- [ ] My code follows the style guide and was checked with pre-commit before committing- [ ] I have commented my code- [ ] I have added sufficient unit and integration tests- [ ] I have updated the CHANGELOG.md