2015-02-26 22:45:28 +00:00
|
|
|
<div class="triggered-build-description-element">
|
2015-04-29 23:50:13 +00:00
|
|
|
<div ng-switch on="infoDisplay">
|
|
|
|
<!-- Manually built with no user -->
|
|
|
|
<div class="tbd-content" class="manual" ng-switch-when="manual">
|
|
|
|
(Manually Triggered Build)
|
|
|
|
</div>
|
2015-03-13 22:34:28 +00:00
|
|
|
|
2015-04-29 23:50:13 +00:00
|
|
|
<!-- Manually built with a user -->
|
|
|
|
<div class="tbd-content" ng-switch-when="manual+user">
|
|
|
|
<i class="fa fa-user"></i> {{ build.job_config.manual_user }}
|
|
|
|
</div>
|
2015-03-13 22:34:28 +00:00
|
|
|
|
2015-04-29 23:50:13 +00:00
|
|
|
<!-- Source information only (i.e. no info) -->
|
|
|
|
<div class="tbd-content" ng-switch-when="source">
|
|
|
|
Triggered by commit to
|
|
|
|
<div class="trigger-description" short="true" trigger="build.trigger"></div>
|
|
|
|
</div>
|
2015-03-13 22:34:28 +00:00
|
|
|
|
2015-04-29 23:50:13 +00:00
|
|
|
<!-- Just commit SHA -->
|
|
|
|
<div class="tbd-content" ng-switch-when="commitsha">
|
|
|
|
Triggered by commit
|
|
|
|
<span class="source-commit-link"
|
|
|
|
commit-sha="build.job_config.trigger_metadata.commit_sha"></span>
|
2015-04-21 22:04:25 +00:00
|
|
|
</div>
|
2015-02-26 22:45:28 +00:00
|
|
|
|
2015-04-29 23:50:13 +00:00
|
|
|
<!-- Full Commit Information -->
|
|
|
|
<div class="tbd-content" ng-switch-when="fullcommit">
|
2015-04-03 21:18:54 +00:00
|
|
|
<div class="commit-message">
|
|
|
|
{{ build.job_config.trigger_metadata.commit_info.message }}
|
|
|
|
</div>
|
|
|
|
<div class="commit-information">
|
|
|
|
<span class="commit-who-when">
|
|
|
|
Authored
|
|
|
|
<span am-time-ago="build.job_config.trigger_metadata.commit_info.date"></span>
|
|
|
|
<span class="commit-who">
|
|
|
|
{{ build.job_config.trigger_metadata.commit_info.author.username }}
|
|
|
|
</span>
|
|
|
|
</span>
|
2015-04-29 23:50:13 +00:00
|
|
|
<span class="source-commit-link"
|
|
|
|
commit-sha="build.job_config.trigger_metadata.commit_sha"></span>
|
|
|
|
<span class="source-ref-link"
|
|
|
|
ref="build.job_config.trigger_metadata.ref"></span>
|
2015-04-03 21:18:54 +00:00
|
|
|
</div>
|
2015-04-21 22:04:25 +00:00
|
|
|
</div>
|
2015-04-29 23:50:13 +00:00
|
|
|
</div>
|
2015-04-03 21:18:54 +00:00
|
|
|
</div>
|