Pārlūkot izejas kodu

modified jenkins files

Avinash 2 gadus atpakaļ
vecāks
revīzija
1d97be90c5
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1
    0
      Jenkinsfile

+ 1
- 0
Jenkinsfile Parādīt failu

91
 
91
 
92
     // Check for changes
92
     // Check for changes
93
     sh """
93
     sh """
94
+        git checkout ${env.BRANCH_NAME}
94
         git status
95
         git status
95
         git pull origin ${env.BRANCH_NAME}
96
         git pull origin ${env.BRANCH_NAME}
96
         # Only proceed if there are changes
97
         # Only proceed if there are changes

Notiek ielāde…
Atcelt
Saglabāt