Adjusted node

This commit is contained in:
Isaac Parenteau
2022-03-02 18:15:58 -05:00
parent 43cffb3610
commit b50eccc471

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')
}