Skip to content
Snippets Groups Projects
Commit 49fd6e56 authored by marchettim's avatar marchettim Committed by Gerrit Code Review
Browse files

Merge "Extended stage_2 pipeline: Allow unittests to be executed in a...

Merge "Extended stage_2 pipeline: Allow unittests to be executed in a privileged container by specifing additional arguments for the Jenkins Docker plugin."
parents 5c291037 9f61130b
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ def project_checkout(url_prefix,project,refspec,revision) {
}
}
def ci_pipeline(mdg,url_prefix,project,branch,refspec,revision,build_system,artifactory_server) {
def ci_pipeline(mdg,url_prefix,project,branch,refspec,revision,build_system,artifactory_server,docker_args="") {
println("build_system = ${build_system}")
ci_helper = load "devops/jenkins/ci-pipelines/ci_helper.groovy"
......@@ -52,7 +52,7 @@ def ci_pipeline(mdg,url_prefix,project,branch,refspec,revision,build_system,arti
sh "docker build -t ${container_name} ."
}
withDockerContainer("${container_name}") {
withDockerContainer(image: "${container_name}", args: docker_args) {
stage('Test') {
sh 'devops-stages/stage-test.sh'
}
......
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