From 720bef678f86a6e25bffb1366700658196e5ec03 Mon Sep 17 00:00:00 2001 From: devopsvj Date: Sat, 12 Jan 2019 16:29:04 -0500 Subject: [PATCH 1/5] Create sample_code.sh --- sample_code.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 sample_code.sh diff --git a/sample_code.sh b/sample_code.sh new file mode 100644 index 0000000..7fe4b08 --- /dev/null +++ b/sample_code.sh @@ -0,0 +1,7 @@ +#!/bin/bash +# +echo "This is an example of a script" +echo "This is running in a build step" +echo "This is param $PASSED" +SUM=$(($FIRSTNUMBER + $SECONDNUMBER)) +echo "$SUM" From 1ff9ea530e018ada15b0e4c7a14c4c76695b0bad Mon Sep 17 00:00:00 2001 From: devopsvj Date: Sat, 12 Jan 2019 17:21:56 -0500 Subject: [PATCH 2/5] Update sample_code.sh --- sample_code.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/sample_code.sh b/sample_code.sh index 7fe4b08..22fb3d2 100644 --- a/sample_code.sh +++ b/sample_code.sh @@ -2,6 +2,5 @@ # echo "This is an example of a script" echo "This is running in a build step" -echo "This is param $PASSED" SUM=$(($FIRSTNUMBER + $SECONDNUMBER)) echo "$SUM" From 8142137a360eac41da0ecaec9cc5cd375b6fb52f Mon Sep 17 00:00:00 2001 From: devopsvj Date: Sat, 12 Jan 2019 17:44:26 -0500 Subject: [PATCH 3/5] Update sample_code.sh --- sample_code.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample_code.sh b/sample_code.sh index 22fb3d2..5f95cb0 100644 --- a/sample_code.sh +++ b/sample_code.sh @@ -2,5 +2,5 @@ # echo "This is an example of a script" echo "This is running in a build step" -SUM=$(($FIRSTNUMBER + $SECONDNUMBER)) +SUM=$((FIRSTNUMBER + SECONDNUMBER)) echo "$SUM" From 72083b57ba76b047c317bf348aa08a39490a345d Mon Sep 17 00:00:00 2001 From: devopsvj Date: Sun, 13 Jan 2019 15:44:50 -0500 Subject: [PATCH 4/5] Update sample_code.sh --- sample_code.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sample_code.sh b/sample_code.sh index 5f95cb0..4d1aa24 100644 --- a/sample_code.sh +++ b/sample_code.sh @@ -1,5 +1,7 @@ #!/bin/bash # + +echo "This is an Samples Script from GitHub" echo "This is an example of a script" echo "This is running in a build step" SUM=$((FIRSTNUMBER + SECONDNUMBER)) From 6f8195176c2782b60901ae6b3696f36ca2832cf1 Mon Sep 17 00:00:00 2001 From: devopsvj Date: Sun, 13 Jan 2019 20:58:06 +0000 Subject: [PATCH 5/5] Added test from linux Server --- sample_code.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/sample_code.sh b/sample_code.sh index 4d1aa24..a63c644 100644 --- a/sample_code.sh +++ b/sample_code.sh @@ -2,6 +2,7 @@ # echo "This is an Samples Script from GitHub" +echo "This is test from Linux Server" echo "This is an example of a script" echo "This is running in a build step" SUM=$((FIRSTNUMBER + SECONDNUMBER))