Jenkins: Checkout outside the docker image
This commit is contained in:
parent
5f5fe91c8d
commit
ceb2641231
1 changed files with 4 additions and 3 deletions
7
tests/modules/Jenkinsfile
vendored
7
tests/modules/Jenkinsfile
vendored
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue