Skip to content
Snippets Groups Projects
Commit 4bef7f5c authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

allow accessing /home/msk_jenkins/JenkinsConfiguration

parent d4328c73
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ def transformIntoStep(ArrayList<String> dependencyList, String buildName) {
stage(buildName) {
node('Docker') {
// we need root access inside the container and access to the dummy pcie devices of the host
def dockerArgs = "-u 0 --device=/dev/mtcadummys0 --device=/dev/mtcadummys1 --device=/dev/mtcadummys2 --device=/dev/mtcadummys3 --device=/dev/llrfdummys4 --device=/dev/noioctldummys5 --device=/dev/pcieunidummys6 -v /var/run/lock/mtcadummy:/var/run/lock/mtcadummy"
def dockerArgs = "-u 0 --device=/dev/mtcadummys0 --device=/dev/mtcadummys1 --device=/dev/mtcadummys2 --device=/dev/mtcadummys3 --device=/dev/llrfdummys4 --device=/dev/noioctldummys5 --device=/dev/pcieunidummys6 -v /var/run/lock/mtcadummy:/var/run/lock/mtcadummy -v /home/msk_jenkins/JenkinsConfiguration:/home/msk_jenkins/JenkinsConfiguration"
docker.image("builder:${label}").inside(dockerArgs) {
script {
helper.doAnalysis(dependencyList, label, buildType)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment