Merge branch 'develop' of github.com:pandorafms/pandorafms into develop

This commit is contained in:
cesar991 2016-07-11 14:36:05 +02:00
commit f06fb0f8b0
1 changed files with 2 additions and 2 deletions

View File

@ -21,14 +21,14 @@ for test,error_msg in c.failures+c.skipped+c.errors:
try: try:
sauce_client.jobs.update_job(test.sauce_labs_job_id, passed=False,tags=[environ["TRAVIS_BRANCH"],test.id()],build_num=environ["TRAVIS_JOB_NUMBER"],name=str(environ["TRAVIS_COMMIT"])+"_"+str(test.id().split('.')[1])) sauce_client.jobs.update_job(test.sauce_labs_job_id, passed=False,tags=[environ["TRAVIS_BRANCH"],test.id()],build_num=environ["TRAVIS_JOB_NUMBER"],name=str(environ["TRAVIS_COMMIT"])+"_"+str(test.id().split('.')[1]))
except: except:
print "Could not annotate Sauce Labs job #%s" % str(test.sauce_labs_job_id) print "Could not annotate Sauce Labs job #%s" % str(test)
next next
for test,error_msg in c.success: for test,error_msg in c.success:
try: try:
sauce_client.jobs.update_job(test.sauce_labs_job_id, passed=True,tags=[environ["TRAVIS_BRANCH"],test.id()],build_num=environ["TRAVIS_JOB_NUMBER"],name=str(environ["TRAVIS_COMMIT"])+"_"+str(test.id().split('.')[1])) sauce_client.jobs.update_job(test.sauce_labs_job_id, passed=True,tags=[environ["TRAVIS_BRANCH"],test.id()],build_num=environ["TRAVIS_JOB_NUMBER"],name=str(environ["TRAVIS_COMMIT"])+"_"+str(test.id().split('.')[1]))
except: except:
print "Could not annotate Sauce Labs job #%s" % str(test.sauce_labs_job_id) print "Could not annotate Sauce Labs job #%s" % str(test)
next next