Skip to content

Commit 91cba77

Browse files
committed
Addressed review feedback
1 parent a863fed commit 91cba77

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

pipeline-examples/ansi-color-build-wrapper/AnsiColorBuildWrapper.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// This shows a simple build wrapper example, using the AnsiColorBuildWrapper plugin.
1+
// This shows a simple build wrapper example, using the AnsiColor plugin.
22
node {
3-
// This is the current syntax for invoking a build wrapper, naming the class.
3+
// This displays colors using the 'xterm' ansi color map.
44
ansiColor('xterm') {
55
// Just some echoes to show the ANSI color.
66
stage "\u001B[31mI'm Red\u001B[0m Now not"
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Synopsis
22

33
This shows usage of a simple build wrapper, specifically the
4-
AnsiColorBuildWrapper plugin, which adds ANSI coloring to the console output.
5-
4+
AnsiColor plugin, which adds ANSI coloring to the console output.

pipeline-examples/jobs-in-parallel/jobs_in_parallel.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ for (int i = 0; i < 4; i++) {
1111
branches["branch${i}"] = {
1212
//Parameters:
1313
//param1 : an example string parameter for the triggered job.
14-
//dummy: a parameter used to prevent triggering the job with the same parameters value. this parameter has to accept a different value
15-
//each time the job is triggered.
14+
//dummy: a parameter used to prevent triggering the job with the same parameters value.
15+
// this parameter has to accept a different value each time the job is triggered.
1616
build job: 'freestyle', parameters: [
1717
string(name: 'param1', value:'test_param'),
1818
string(name:'dummy', value: "${index}")]

pipeline-examples/timestamper-wrapper/timestamperWrapper.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// This shows a simple build wrapper example, using the Timestamper plugin.
22
node {
3-
// This is the current syntax for invoking a build wrapper, naming the class.
3+
// Adds timestamps to the output logged by steps inside the wrapper.
44
timestamps {
55
// Just some echoes to show the timestamps.
66
stage "First echo"

0 commit comments

Comments
 (0)