Update Jenkinsfile
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -5,11 +5,13 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage('test') {
|
stage('test') {
|
||||||
steps {
|
steps {
|
||||||
|
script {
|
||||||
echo "Testing the application..."
|
echo "Testing the application..."
|
||||||
echo "Executing pipeline for branch $BRANCH_NAME"
|
echo "Executing pipeline for branch $BRANCH_NAME"
|
||||||
buildJar
|
buildJar
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
stage('build') {
|
stage('build') {
|
||||||
when {
|
when {
|
||||||
expression {
|
expression {
|
||||||
|
|||||||
Reference in New Issue
Block a user