From 9eacce2666aefb40de455ed108c86ac253886d4a Mon Sep 17 00:00:00 2001 From: Urvashiagg <42764794+Urvashiagg@users.noreply.github.com> Date: Mon, 19 May 2025 12:25:10 +0530 Subject: [PATCH 1/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6ae4ea5..3bade6a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ - +# Testing the auto trigger # Sysfoo Application A Devops Learning App From b727b0e9342bb462aadd4efa10546ea54405bd29 Mon Sep 17 00:00:00 2001 From: Urvashiagg <42764794+Urvashiagg@users.noreply.github.com> Date: Tue, 20 May 2025 10:06:48 +0530 Subject: [PATCH 2/7] Create Jenkinsfile --- Jenkinsfile | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..be4bff1 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,53 @@ +pipeline { + agent any + stages { + stage('build') { + steps { + echo 'compiling sysfoo app..' + sh 'mvn compile' + } + } + + stage('test') { + parallel { + stage('umit test') { + steps { + echo 'running unit tests...' + sh 'mvn clean test' + } + } + + stage('SCA') { + steps { + sleep 4 + } + } + + stage('SBOM') { + steps { + sleep 2 + } + } + + } + } + + stage('package') { + steps { + echo 'package the artifact...' + sh 'mvn package -DskipTests' + archiveArtifacts 'target/*.jar' + } + } + + } + tools { + maven 'Maven 3.6.3' + } + post { + always { + echo 'This pipeline is completed..' + } + + } +} From 47f0577118e5a2f121fc3e223965a93407d9e641 Mon Sep 17 00:00:00 2001 From: Urvashiagg <42764794+Urvashiagg@users.noreply.github.com> Date: Tue, 20 May 2025 10:28:32 +0530 Subject: [PATCH 3/7] Added Jenkinsfile --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index be4bff1..babcd40 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,6 +37,7 @@ pipeline { echo 'package the artifact...' sh 'mvn package -DskipTests' archiveArtifacts 'target/*.jar' + archiveArtifacts 'target/*war' } } @@ -50,4 +51,4 @@ pipeline { } } -} +} \ No newline at end of file From f5fd843eb7616adac451e7f046ac183f3edb3f4d Mon Sep 17 00:00:00 2001 From: Urvashiagg <42764794+Urvashiagg@users.noreply.github.com> Date: Tue, 20 May 2025 10:29:48 +0530 Subject: [PATCH 4/7] Added Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index babcd40..988dbb3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,7 +37,7 @@ pipeline { echo 'package the artifact...' sh 'mvn package -DskipTests' archiveArtifacts 'target/*.jar' - archiveArtifacts 'target/*war' + archiveArtifacts 'target/*.war' } } From 1066a2348a2b6537aaaf8f33730f31f20c8bdb7b Mon Sep 17 00:00:00 2001 From: Urvashiagg <42764794+Urvashiagg@users.noreply.github.com> Date: Tue, 20 May 2025 10:31:01 +0530 Subject: [PATCH 5/7] Added Jenkinsfile From 5b9ebdad7c5e1471aa46371f99c5126fa16edb3b Mon Sep 17 00:00:00 2001 From: Urvashiagg <42764794+Urvashiagg@users.noreply.github.com> Date: Tue, 20 May 2025 10:32:05 +0530 Subject: [PATCH 6/7] Added Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 988dbb3..94170c6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,7 +37,7 @@ pipeline { echo 'package the artifact...' sh 'mvn package -DskipTests' archiveArtifacts 'target/*.jar' - archiveArtifacts 'target/*.war' + archiveArtifacts 'target/*.jar' } } From 7f1e23e863421a1686896f1ef6c9a0af0c65c6c2 Mon Sep 17 00:00:00 2001 From: Urvashi Agarwal Date: Tue, 20 May 2025 12:03:40 +0530 Subject: [PATCH 7/7] Testing branch protection rules --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 3bade6a..36c14be 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,8 @@ A Devops Learning App ## About the Application +## Testing branch protection rules + The Sysfoo application is designed as a learning tool to demonstrate various aspects of web development using Spring Boot and other associated technologies. It provides real-time system information, database connectivity status, and a basic to-do list functionality to illustrate interaction with a database. This application is ideal for individuals learning about Spring Boot, RESTful services, and simple frontend interactions with JavaScript. This is also useful for anyone who would like to implement Devops Practices with this App.