Commit 766af583 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'add_aborted_status' into 'master'

Jenkins Service - Add aborted status

Currently, Jenkins service will show "pending" build status even if the job has been aborted. This simple change allows the CI status to recognize an aborted status and mark it as a failure.
parents 6ab1e799 f6c8c6aa
......@@ -76,7 +76,7 @@ class JenkinsService < CiService
if response.code == 200
if response.include?('alt="Success"')
'success'
elsif response.include?('alt="Failed"')
elsif response.include?('alt="Failed"') || response.include?('alt="Aborted"')
'failed'
elsif response.include?('alt="In progress"')
'running'
......
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