diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-10-03 14:02:48 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-10-05 12:39:54 +0300 |
commit | ffce9fd53f4e7d400d6f45e00b7e59acd902f3a6 (patch) | |
tree | bab15a9809ab62042030b990bf1c67cc0d5252f6 /app/assets/javascripts/pipelines | |
parent | 9f639b073394b23c4e559b95dc5ba3ad422352bc (diff) |
Expose failure reason in pipeline error badge
Conflicts:
app/serializers/pipeline_entity.rb
Diffstat (limited to 'app/assets/javascripts/pipelines')
-rw-r--r-- | app/assets/javascripts/pipelines/components/pipeline_url.vue | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/assets/javascripts/pipelines/components/pipeline_url.vue b/app/assets/javascripts/pipelines/components/pipeline_url.vue index 76b97af39f1..9da0aac50a1 100644 --- a/app/assets/javascripts/pipelines/components/pipeline_url.vue +++ b/app/assets/javascripts/pipelines/components/pipeline_url.vue @@ -72,6 +72,13 @@ :title="pipeline.yaml_errors"> yaml invalid </span> + <span + v-if="pipeline.flags.failure_reason" + v-tooltip + class="js-pipeline-url-failure label label-danger" + :title="pipeline.failure_reason"> + error + </span> <a v-if="pipeline.flags.auto_devops" tabindex="0" |