Update pipeline_lib.groovy

This commit is contained in:
surtexx 2023-11-13 17:21:58 +02:00 committed by GitHub
parent 5daa969744
commit 68fc95af0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,5 @@
if(env.CHANGE_ID != null){ def run(){
if(env.CHANGE_ID != null){
pipeline{ pipeline{
agent any agent any
stages { stages {
@ -29,8 +30,8 @@ if(env.CHANGE_ID != null){
} }
} }
} }
} }
else if(env.BRANCH_NAME == "main"){ else if(env.BRANCH_NAME == "main"){
pipeline{ pipeline{
agent any agent any
stages{ stages{
@ -52,4 +53,5 @@ else if(env.BRANCH_NAME == "main"){
} }
} }
} }
}
} }