Skip to content
Snippets Groups Projects
Commit e523bd36 authored by Frederik Zahle's avatar Frederik Zahle
Browse files

Merge branch 'fix_gitpull' into 'master'

fix git pull error

See merge request !21
parents 57d31b7e d4bf60aa
Branches master
No related tags found
1 merge request!21fix git pull error
Pipeline #61216 passed
......@@ -164,7 +164,10 @@ class CaseRunner(object):
os.system('git remote set-url origin %s' % url2)
command = 'git pull origin %s' % self.make_test_data_branch
print('checking remote branch %s for updates' % self.make_test_data_branch, flush=True)
status = subprocess.check_output(command, shell=True)
try:
status = subprocess.check_output(command, shell=True)
except:
print("no updates")
command = 'git push origin %s' % self.make_test_data_branch
print('pushing code with ellipsys_ci_bot user', flush=True)
status = subprocess.check_output(command, shell=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment