build: refs #6706 Jenkinsfile test
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Juan Ferrer 2024-02-01 22:13:36 +01:00
parent 3356691124
commit 6a27b752e2
1 changed files with 10 additions and 7 deletions

17
Jenkinsfile vendored
View File

@ -4,7 +4,7 @@ def PROTECTED_BRANCH
def FROM_GIT def FROM_GIT
def RUN_TESTS def RUN_TESTS
before: { pre: {
switch (env.BRANCH_NAME) { switch (env.BRANCH_NAME) {
case 'test': case 'test':
env.NODE_ENV = 'test' env.NODE_ENV = 'test'
@ -31,14 +31,17 @@ before: {
// Uncomment to enable debugging // Uncomment to enable debugging
// https://loopback.io/doc/en/lb3/Setting-debug-strings.html#debug-strings-reference // https://loopback.io/doc/en/lb3/Setting-debug-strings.html#debug-strings-reference
//env.DEBUG = 'strong-remoting:shared-method' //env.DEBUG = 'strong-remoting:shared-method'
}
pipeline {
stage('Setup') {
env.GIT_COMMIT_MSG = sh(
script: 'git log -1 --pretty=%B ${GIT_COMMIT}',
returnStdout: true
).trim()
env.GIT_COMMIT_MSG = sh( setEnv()
script: 'git log -1 --pretty=%B ${GIT_COMMIT}', }
returnStdout: true
).trim()
setEnv()
} }
pipeline { pipeline {