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 4 additions and 11 deletions
Showing only changes of commit d7b15d3221 - Show all commits

15
Jenkinsfile vendored
View File

@ -32,9 +32,11 @@ pre: {
// https://loopback.io/doc/en/lb3/Setting-debug-strings.html#debug-strings-reference
//env.DEBUG = 'strong-remoting:shared-method'
}
node {
stage('Setup') {
def packageJson = readJSON file: 'package.json'
env.VERSION = packageJson.version
env.GIT_COMMIT_MSG = sh(
script: 'git log -1 --pretty=%B ${GIT_COMMIT}',
returnStdout: true
@ -43,7 +45,6 @@ node {
setEnv()
}
}
pipeline {
agent any
options {
@ -57,14 +58,6 @@ pipeline {
STACK_NAME = "${env.PROJECT_NAME}-${env.BRANCH_NAME}"
}
stages {
stage('Checkout') {
steps {
script {
def packageJson = readJSON file: 'package.json'
env.VERSION = packageJson.version
}
}
}
stage('Install') {
environment {
NODE_ENV = ""
@ -128,7 +121,7 @@ pipeline {
}
stage('Output') {
steps {
echo "${env.NODE_ENV}"
echo "${env.VERSION}"
}
}
stage('Deploy') {