Update Jenkinsfile
All checks were successful
jenkins_organization/maven_project/pipeline/head This commit looks good
All checks were successful
jenkins_organization/maven_project/pipeline/head This commit looks good
This commit is contained in:
parent
3f9521ba0e
commit
afb755c9d7
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user