Skip to content

Testing branch protection rules #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
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'
archiveArtifacts 'target/*.jar'
}
}

}
tools {
maven 'Maven 3.6.3'
}
post {
always {
echo 'This pipeline is completed..'
}

}
}
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@

# Testing the auto trigger
# Sysfoo Application

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.
Expand Down