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 {
|
stages {
|
||||||
stage('Build') {
|
stage('Hello') {
|
||||||
steps {
|
|
||||||
// Kompilowanie i pakowanie aplikacji za pomocą Mavena
|
|
||||||
script {
|
|
||||||
sh 'mvn clean package'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Test') {
|
|
||||||
steps {
|
steps {
|
||||||
// Uruchomienie testów jednostkowych
|
// Uruchomienie testów jednostkowych
|
||||||
script {
|
script {
|
||||||
sh 'mvn test'
|
echo 'hello world'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user