diff --git a/jenkins/build.sh b/jenkins/build.sh index 1082aff..6db37cf 100755 --- a/jenkins/build.sh +++ b/jenkins/build.sh @@ -1,6 +1,6 @@ #!/bin/bash -virtualenv env --download --always-copy --clear -p python3.7 +virtualenv env --download --clear -p python3.7 source env/bin/activate python --version diff --git a/src/tt_drone/worker.py b/src/tt_drone/worker.py index 022618f..2842a8b 100644 --- a/src/tt_drone/worker.py +++ b/src/tt_drone/worker.py @@ -58,7 +58,9 @@ class WorkerContext: self._do_post_task_hooks(json_result) print(self._worker.release_task(task.id, json_result["result"], - json_result["verification"] if "verification" in json_result else 0).text) + json_result[ + "verification"] if "verification" in json_result else 0).text + + "for result" + result) except Exception as e: return