Commit b6ac714b authored by derek-knox's avatar derek-knox
Browse files

init hasEverSucceeded properly when rerunning an existing pipeline

parent ad3e3184
Pipeline #104726638 passed with stages
in 14 minutes and 13 seconds
......@@ -198,7 +198,11 @@ const actions = {
commit('reset', 'loaderInFocusConfiguration'),
run({ commit, dispatch }, pipeline) {
commit('setPipelineStatus', { pipeline, isRunning: true })
commit('setPipelineStatus', {
pipeline,
isRunning: true,
hasEverSucceeded: pipeline.hasEverSucceeded
})
return orchestrationsApi.run(pipeline).then(response => {
dispatch('queuePipelinePoller', response.data)
commit('setPipelineJobId', { pipeline, jobId: response.data.jobId })
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment