Update Jenkinsfile
Some checks failed
jenkins_organization/maven_project/pipeline/head There was a failure building this commit

This commit is contained in:
first_admin 2024-08-29 18:05:52 +00:00
parent 171f3c879e
commit b74b63fdb5

13
Jenkinsfile vendored
View File

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