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() {
|
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()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue