test: refs #6695 e2e better build front image
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
662d679ad1
commit
12edc10272
|
@ -100,18 +100,17 @@ pipeline {
|
||||||
def packageJson = readJSON file: 'package.json'
|
def packageJson = readJSON file: 'package.json'
|
||||||
env.VERSION = "${packageJson.version}-build${env.BUILD_ID}"
|
env.VERSION = "${packageJson.version}-build${env.BUILD_ID}"
|
||||||
cleanDockerE2E()
|
cleanDockerE2E()
|
||||||
|
def repoFolder = "salix"
|
||||||
|
if (fileExists(repoFolder)) {
|
||||||
|
dir(repoFolder) {
|
||||||
|
sh 'git pull'
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
sh "git clone dev https://gitea.verdnatura.es/verdnatura/salix.git"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// sh 'rm -rf salix'
|
// sh 'rm -rf salix'
|
||||||
// sh 'git clone dev https://gitea.verdnatura.es/verdnatura/salix.git'
|
// sh 'git clone dev https://gitea.verdnatura.es/verdnatura/salix.git'
|
||||||
|
|
||||||
def repoFolder = "salix"
|
|
||||||
if (fileExists(repoFolder)) {
|
|
||||||
dir(repoFolder) {
|
|
||||||
sh 'git pull'
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
sh "git clone dev https://gitea.verdnatura.es/verdnatura/salix.git"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Up') {
|
stage('Up') {
|
||||||
|
|
Loading…
Reference in New Issue