diff options
author | Deepti B. Kalakeri <deepti.kalakeri@linaro.org> | 2011-09-22 15:12:15 +0000 |
---|---|---|
committer | Deepti B. Kalakeri <deepti.kalakeri@linaro.org> | 2011-09-22 15:12:15 +0000 |
commit | 776828b7fb995c040e89bf107af327b4f8d0c7a0 (patch) | |
tree | ac01250bf9224384f9cbb3b5cd18cb3dac2013f0 /jenkins_kernel_ci_bundle | |
parent | 1598fc9101c09cb2552e5e2f0bd21af226e495f6 (diff) |
Modifying the job_name to take advantage of the new lava dispactcher to display names in the bundle stream
Diffstat (limited to 'jenkins_kernel_ci_bundle')
-rwxr-xr-x | jenkins_kernel_ci_bundle | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/jenkins_kernel_ci_bundle b/jenkins_kernel_ci_bundle index df18bc3..4f70d3d 100755 --- a/jenkins_kernel_ci_bundle +++ b/jenkins_kernel_ci_bundle @@ -57,8 +57,7 @@ def GetInHMS(seconds): if build_status != 'fail': build_time=int(os.getenv('EXECUTION_TIME_IN_SEC')) - hwpack_filename=os.getenv('HWPACK_NAME') - timestamp=hwpack_filename.rsplit('_', 3)[1] + timestamp=os.getenv('HWPACK_BUILD_DATE') timestamp=((datetime.strptime(timestamp, "%Y%m%d-%H%M")).strftime("%Y-%m-%dT%H:%M:%SZ")) bundle['test_runs'][0]['test_results'][0]['timestamp']=timestamp bundle['test_runs'][0]['test_results'][0]['duration']=GetInHMS(build_time) |