Skip to content

Commit

Permalink
Merge pull request #929 from MarkEWaite/fix-help-formatting
Browse files Browse the repository at this point in the history
[JENKINS-9346] - Fix token macro help formatting
  • Loading branch information
MarkEWaite authored Jul 11, 2020
2 parents 4e5fc27 + c13b646 commit 40dd071
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
<dt>$${GIT_BRANCH}</dt>
<dd>
Expands to the name of the branch that was built.
</dd>

<h3>Parameters</h3>
<dl>
<dt>all</dt>
<dd>
If specified, all the branches that point to the given commit is listed.
By default, the token expands to just one of them.
</dd>
<dt>fullName</dt>
<dd>
If specified, this token expands to the full branch name, such as 'origin/master'.
Otherwise, it only expands to the short name, such as 'master'.
</dd>
</dl>
</j:jelly>
<dl>
<dt>all</dt>
<dd>
If specified, all the branches that point to the given commit are listed.
By default, the token expands to just one of them.
</dd>
<dt>fullName</dt>
<dd>
If specified, this token expands to the full branch name, such as 'origin/master'.
Otherwise, it only expands to the short name, such as 'master'.
</dd>
</dl>

</dd>
</j:jelly>
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<dt>$${GIT_REVISION}</dt>
<dd>
Expands to the Git SHA1 commit ID that points to the commit that was built.
</dd>

<h3>Parameters</h3>
<dl>
<dt>length=N (optional, default to 40)</dt>
<dd>
Specify the commit ID length. Full SHA1 commit ID is 40 character long, but it is common
to cut it off at 8 or 12 as that often provide enough uniqueness and is a lot more legible.
</dd>
</dl>
</j:jelly>
<dl>
<dt>length=N (optional, default to 40)</dt>
<dd>
Specify the commit ID length. Full SHA1 commit ID is 40 characters long, but it is common
to truncate it at 8 or 12 as that usually provide enough uniqueness and is more legible.
</dd>
</dl>

</dd>
</j:jelly>

0 comments on commit 40dd071

Please sign in to comment.