~tomasgroth/openlp/remote-sync

« back to all changes in this revision

Viewing changes to scripts/jenkins_script.py

  • Committer: Tomas Groth
  • Date: 2018-08-05 20:55:33 UTC
  • mfrom: (2733.1.95 openlp)
  • Revision ID: tomasgroth@yahoo.dk-20180805205533-qc16kd39jy8wes6a
trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
178
178
        print('{:<70} [WAITING]'.format(job['nextBuildUrl']), end='', flush=True)
179
179
        self.current_build = self._get_build_info(job_name, job['nextBuildNumber'])
180
180
        print('\b\b\b\b\b\b\b\b\b[RUNNING]', end='', flush=True)
181
 
        is_success = False
182
181
        while self.current_build['building'] is True:
183
182
            time.sleep(0.5)
184
183
            self.current_build = self.server.get_build_info(job_name, job['nextBuildNumber'])