build: refs #6695 try e2e jenkins
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
38b8a13225
commit
ed9f21170e
|
@ -66,25 +66,6 @@ pipeline {
|
|||
sh 'pnpm install --prefer-offline'
|
||||
}
|
||||
}
|
||||
// stage('Test') {
|
||||
// when {
|
||||
// expression { !PROTECTED_BRANCH }
|
||||
// }
|
||||
// environment {
|
||||
// NODE_ENV = ""
|
||||
// }
|
||||
// steps {
|
||||
// sh 'pnpm run test:unit:ci'
|
||||
// }
|
||||
// post {
|
||||
// always {
|
||||
// junit(
|
||||
// testResults: 'junitresults.xml',
|
||||
// allowEmptyResults: true
|
||||
// )
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
stage('E2E') {
|
||||
when {
|
||||
expression { !PROTECTED_BRANCH }
|
||||
|
@ -92,11 +73,11 @@ pipeline {
|
|||
environment {
|
||||
NODE_ENV = ""
|
||||
}
|
||||
script {
|
||||
def packageJson = readJSON file: 'package.json'
|
||||
env.VERSION = "${packageJson.version}-build${env.BUILD_ID}"
|
||||
}
|
||||
steps {
|
||||
script {
|
||||
def packageJson = readJSON file: 'package.json'
|
||||
env.VERSION = "${packageJson.version}-build${env.BUILD_ID}"
|
||||
}
|
||||
sh 'docker-compose -f docker-compose.e2e.yml up front --build'
|
||||
}
|
||||
post {
|
||||
|
|
Loading…
Reference in New Issue