build: refs #6706 hook test #1988

Merged
juan merged 17 commits from 6706-optimizeHooks into dev 2024-02-01 22:40:39 +00:00
1 changed files with 10 additions and 7 deletions
Showing only changes of commit 6a27b752e2 - Show all commits

17
Jenkinsfile vendored
View File

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