Skip to content

Commit

Permalink
Add helptext for checkPrecondition expression
Browse files Browse the repository at this point in the history
Added helptext which points to Spring Expression Language so that users understand they can make complex evaluations here.
  • Loading branch information
Samuel Toriel committed Dec 7, 2015
1 parent 63e8f70 commit a79c14e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/scripts/modules/core/help/helpContents.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ module.exports = angular.module('spinnaker.core.help.contents', [])
'pipeline.config.checkPreconditions.failPipeline': '' +
'<p><strong>Checked</strong> - the overall pipeline will fail whenever this precondition is false.</p>' +
'<p><strong>Unchecked</strong> - the overall pipeline will continue executing but this particular branch will stop.</p>',
'pipeline.config.checkPreconditions.expression': '<p>Value must evaluate to "true".' +
' Use of the <b>Spring Expression Language</b> within the placeholder ${ } allows for complex evaluations.</p>',
'pipeline.config.deploy.template': '<p>Select an existing cluster to use as a template for this deployment, and we\'ll pre-fill ' +
'the configuration based on the newest server group in the cluster.</p>' +
'<p>If you want to start from scratch, select "None".</p>' +
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<ng-form name="expressionForm">
<div class="form-group row">
<div class="col-sm-3 sm-label-left">Expression</div>
<div class="col-sm-3 sm-label-left">Expression <help-field key="pipeline.config.checkPreconditions.expression"></help-field></div>
<div class="col-sm-9">
<input type="text"
name="expression"
Expand Down

0 comments on commit a79c14e

Please sign in to comment.