From 82193762ff5ed2f220c320658b3a9f8cc249f30f Mon Sep 17 00:00:00 2001 From: Dhananjaya Kurukulasooriya Date: Tue, 10 Jun 2025 21:09:32 +0530 Subject: [PATCH 1/3] Create testFile Signed-off-by: Dhananjaya Kurukulasooriya --- testFile | 1 + 1 file changed, 1 insertion(+) create mode 100644 testFile diff --git a/testFile b/testFile new file mode 100644 index 00000000..1056d0ea --- /dev/null +++ b/testFile @@ -0,0 +1 @@ +test file for triggering build. From a5e835edb2a0eb8a3511ab524036f5490442d624 Mon Sep 17 00:00:00 2001 From: dhananjaya kurukulasooriya Date: Wed, 11 Jun 2025 02:09:27 +0530 Subject: [PATCH 2/3] checking branch protection --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index b8ad8a94..e55820ca 100644 --- a/README.md +++ b/README.md @@ -58,3 +58,5 @@ Note ---- The voting application only accepts one vote per client. It does not register votes if a vote has already been submitted from a client. + +making simple change to check branch protection in action. \ No newline at end of file From a6125b03803022f5917e725fb4f6fca4034b22df Mon Sep 17 00:00:00 2001 From: dhananjaya kurukulasooriya Date: Wed, 11 Jun 2025 02:45:29 +0530 Subject: [PATCH 3/3] adding Jenkinsfile --- Jenkinsfile | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 00000000..0995e26c --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,30 @@ +pipeline { + agent any + + stages { + stage('one') { + steps { + echo 'Step 01' + sleep 3 + } + } + stage('two') { + steps { + echo 'Step 02' + sleep 9 + } + } + stage('three') { + steps { + echo 'Step 03' + sleep 5 + } + } + } + post{ + always { + echo "This pipeline is completed" + } + } +} +