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