Jenkins: Checkout outside the docker image

This commit is contained in:
Tobias Gruetzmacher 2020-11-26 23:56:02 +01:00
parent 5f5fe91c8d
commit ceb2641231

View file

@ -15,9 +15,6 @@ def prepareDocker () {
} }
def runTests() { def runTests() {
stage('Checkout') {
checkout scm
}
stage ('Install lib') { stage ('Install lib') {
sh "pip install --user -e .[css,dev]" sh "pip install --user -e .[css,dev]"
} }
@ -45,6 +42,10 @@ ansiColor('xterm') {
node { node {
def img = prepareDocker() def img = prepareDocker()
stage('Checkout') {
checkout scm
}
img.inside { img.inside {
runTests() runTests()
} }