Merge pull request 'Adjusted node' (#11) from bug/jenkins_update into develop
All checks were successful
Locusworks Team/app-logger/pipeline/head This commit looks good

Reviewed-on: #11
This commit is contained in:
2022-03-02 17:24:09 -06:00

8
Jenkinsfile vendored
View File

@ -48,7 +48,7 @@ def init() {
if (branch_name.indexOf('master')==0) build_type='master'
// common pipeline elements
node('controller') {
node() {
Initialize()
SetVersion(build_type)
print_vars() // after SetVersion - all variables now defined
@ -57,16 +57,16 @@ def init() {
}
if (branch_name.indexOf('develop')==0) {
node('controller') {
node() {
Deploy();
}
} else if (branch_name.indexOf('release/')==0) {
node('controller') {
node() {
Deploy();
}
}
node('controller') {
node() {
set_result('SUCCESS')
}