Skip to content

Commit

Permalink
adding git pull
Browse files Browse the repository at this point in the history
To avoid failure when Jenkins and merging occur same time
  • Loading branch information
sanchitvj authored Apr 24, 2024
1 parent 19c0f0f commit 329539e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ pipeline {
fixed{
sshagent(credentials: ['GithubKey']){
sh 'git checkout main'
sh 'git pull'
sh 'python3 ci/modify_test_status.py'
sh 'git add README.md'
sh 'git commit -m "test status updated"'
Expand All @@ -119,6 +120,7 @@ pipeline {
regression{
sshagent(credentials: ['GithubKey']){
sh 'git checkout main'
sh 'git pull'
sh 'python3 ci/modify_test_status.py --fail'
sh 'git add README.md'
sh 'git commit -m "test status updated"'
Expand Down

0 comments on commit 329539e

Please sign in to comment.