Skip to content

Commit 82f9a75

Browse files
author
Matthias Koefferlein
committed
Added docker_args config to multipipeline Jenkins file for Linux cluster
1 parent d2f9323 commit 82f9a75

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Jenkinsfile-linux

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ properties([disableConcurrentBuilds()])
55

66
// from shared library
77
target = osconfig()
8+
docker_args = docker_args()
89

910
currentBuild.description = "Pipelined " + target
1011

@@ -22,7 +23,7 @@ node("linux") {
2223

2324
stage("Building target ${target}") {
2425

25-
withDockerContainer(image: "jenkins-${target}") {
26+
withDockerContainer(image: "jenkins-${target}", args: docker_args) {
2627
// from shared library
2728
build(target, target_dir)
2829
}
@@ -43,7 +44,7 @@ node("linux") {
4344
"Unit testing": {
4445

4546
ut_result = "no-result"
46-
withDockerContainer(image: "jenkins-${target}") {
47+
withDockerContainer(image: "jenkins-${target}", args: docker_args) {
4748
ut_result = run_ut(target)
4849
}
4950

@@ -52,7 +53,7 @@ node("linux") {
5253
},
5354
"Installtest": {
5455

55-
withDockerContainer(image: "jenkins-${target}-basic") {
56+
withDockerContainer(image: "jenkins-${target}-basic", args: docker_args) {
5657
// from shared library
5758
installtest_nopython(target, target_dir)
5859
}

0 commit comments

Comments
 (0)