Skip to content

Commit

Permalink
feat(dryrun): distinguish dry run pipelines in execution view
Browse files Browse the repository at this point in the history
  • Loading branch information
robfletcher committed Feb 7, 2018
1 parent 8fdad0d commit 933c20f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/scripts/modules/core/src/domain/IExecutionTrigger.ts
Expand Up @@ -10,4 +10,5 @@ export interface IExecutionTrigger {
parentPipelineName?: string;
type: string;
user: string;
dryRun?: boolean;
}
Expand Up @@ -110,7 +110,10 @@ export class ExecutionStatus extends React.Component<IExecutionStatusProps, IExe
<div className="execution-status-section">
<span className={`trigger-type ${this.state.sortFilter.groupBy !== name ? 'subheading' : ''}`}>
<h5 className="build-number"><ExecutionBuildLink execution={execution}/></h5>
<h5 className="execution-type">{this.getExecutionTypeDisplay()}</h5>
<h5 className="execution-type">
{execution.trigger.dryRun && '[DRY RUN] '}
{this.getExecutionTypeDisplay()}
</h5>
</span>
<ul className="trigger-details">
{has(execution.trigger, 'buildInfo.url') && <li>{buildDisplayName(execution.trigger.buildInfo)}</li>}
Expand Down

0 comments on commit 933c20f

Please sign in to comment.