refs #6915 test_master24_8 #2067

Merged
alexm merged 561 commits from test_master24_8 into master 2024-02-22 07:31:34 +00:00
1 changed files with 8 additions and 5 deletions
Showing only changes of commit 76785b99b1 - Show all commits

13
Jenkinsfile vendored
View File

@ -1,6 +1,10 @@
#!/usr/bin/env groovy #!/usr/bin/env groovy
{ def PROTECTED_BRANCH
def FROM_GIT
def RUN_TESTS
before: {
switch (env.BRANCH_NAME) { switch (env.BRANCH_NAME) {
case 'test': case 'test':
env.NODE_ENV = 'test' env.NODE_ENV = 'test'
@ -15,15 +19,14 @@
env.BACK_REPLICAS = 1 env.BACK_REPLICAS = 1
} }
def PROTECTED_BRANCH = [ PROTECTED_BRANCH = [
'dev', 'dev',
'test', 'test',
'master' 'master'
].contains(env.BRANCH_NAME) ].contains(env.BRANCH_NAME)
def FROM_GIT = env.JOB_NAME.startsWith('gitea/') FROM_GIT = env.JOB_NAME.startsWith('gitea/')
def RUN_TESTS = !PROTECTED_BRANCH && FROM_GIT RUN_TESTS = !PROTECTED_BRANCH && FROM_GIT
// 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