fix: 4 - Updating Jenkinsfile
All checks were successful
Zakaria/ZenProject/pipeline/head This commit looks good
Zenful/ZenProject/pipeline/head This commit looks good

This commit is contained in:
Sami 2024-09-28 19:02:18 -04:00
parent 54fbd3e326
commit d730a1357d

26
Jenkinsfile vendored
View File

@ -2,35 +2,11 @@ pipeline {
agent any
stages {
stage('Checkout') {
steps {
// Checkout code from version control
git 'https://gitea.zacksolutions.dev/Zakaria/ZenProject.git'
}
}
stage('Build') {
steps {
// Build your project (if needed)
sh 'mvn clean install'
}
}
stage('Test') {
steps {
// Install dependencies
sh 'mvn dependency:resolve'
// Run browser tests
// This runs the Maven test phase
sh 'mvn test'
}
}
stage('Generate Reports') {
steps {
// Generate and store test reports
sh 'mvn site'
}
}
}
}