Add Publish and Retry in Self-Service
- Updated POST '/:user/retry/:run_id' in
self-service.rbto create new job with original job'sis_privatevalue and updatedget_same_pending_jobsto consideris_privatevalue as well. - Updated
self_service_history.erbto showPublishbutton only when user is logged in and accessing its own history. - Added
publish.erbto be the page to show selected private jobs fromjob_historywith button to eitherpublishorcancel. - Added GET
/:user/test/publishinself-service.rbto accept array ofrun_idsand passprivatejobs data topublish.erb. - Added POST
/:user/test/publishto accept strings of run_ids separated with,frompublish.erband changing tha validprivatejobs topublic. - Added/Updated tests of above in
self_service_spec.rb.
Edited by Pavit Kaur