Update Jenkinsfile
All checks were successful
jenkins_organization/maven_project/pipeline/head This commit looks good

This commit is contained in:
first_admin 2024-08-29 18:02:04 +00:00
parent 3f9521ba0e
commit afb755c9d7

13
Jenkinsfile vendored
View File

@ -4,20 +4,11 @@ pipeline {
}
stages {
stage('Build') {
steps {
// Kompilowanie i pakowanie aplikacji za pomocą Mavena
script {
sh 'mvn clean package'
}
}
}
stage('Test') {
stage('Hello') {
steps {
// Uruchomienie testów jednostkowych
script {
sh 'mvn test'
echo 'hello world'
}
}
}