Skip to content
Snippets Groups Projects
Commit a75e48a6 authored by Lars Bilke's avatar Lars Bilke
Browse files

[Jenkins] Pull latest docker images.

docker.image('ogs6/gcc-gui:latest')# Please enter the commit message for your changes. Lines starting
parent 6090702f
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,9 @@ node('docker') { ...@@ -18,7 +18,9 @@ node('docker') {
dir('ogs') { checkout scm } dir('ogs') { checkout scm }
} }
docker.image('ogs6/clang-base:latest').inside(defaultDockerArgs) { def image = docker.image('ogs6/clang-base:latest')
image.pull()
image.inside(defaultDockerArgs) {
stage('Configure (Clang)') { stage('Configure (Clang)') {
configure.linux 'build', "${defaultCMakeOptions}" configure.linux 'build', "${defaultCMakeOptions}"
} }
......
...@@ -7,7 +7,9 @@ node('docker') { ...@@ -7,7 +7,9 @@ node('docker') {
stage('Checkout') { dir('ogs') { checkout scm } } stage('Checkout') { dir('ogs') { checkout scm } }
stage('Build') { stage('Build') {
docker.image('ogs6/gcc-base:latest').inside(defaultDockerArgs) { def image = docker.image('ogs6/gcc-base:latest')
image.pull()
image.inside(defaultDockerArgs) {
build this, 'build', '-DOGS_COVERAGE=ON', build this, 'build', '-DOGS_COVERAGE=ON',
'testrunner_coverage_cobertura ctest_coverage_cobertura' 'testrunner_coverage_cobertura ctest_coverage_cobertura'
} }
......
...@@ -8,7 +8,9 @@ def build = new ogs.build() ...@@ -8,7 +8,9 @@ def build = new ogs.build()
def post = new ogs.post() def post = new ogs.post()
def helper = new ogs.helper() def helper = new ogs.helper()
docker.image('ogs6/gcc-base:latest').inside() { def image = docker.image('ogs6/gcc-base:latest')
image.pull()
image.inside() {
stage('Configure (Docs)') { stage('Configure (Docs)') {
configure.linux 'build', "${defaultCMakeOptions}" configure.linux 'build', "${defaultCMakeOptions}"
} }
......
...@@ -8,7 +8,9 @@ def build = new ogs.build() ...@@ -8,7 +8,9 @@ def build = new ogs.build()
def post = new ogs.post() def post = new ogs.post()
def helper = new ogs.helper() def helper = new ogs.helper()
docker.image('ogs6/gcc-gui:latest').inside(defaultDockerArgs) { def image = docker.image('ogs6/gcc-gui:latest')
image.pull()
image.inside(defaultDockerArgs) {
stage('Configure (Linux-Docker)') { stage('Configure (Linux-Docker)') {
configure.linux 'build', "${defaultCMakeOptions}" configure.linux 'build', "${defaultCMakeOptions}"
} }
......
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