Update Jenkinsfile
This commit is contained in:
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@@ -5,16 +5,10 @@ pipeline {
|
||||
steps {
|
||||
script {
|
||||
echo "Testing the application..."
|
||||
echo "Executing pipeline for branch $BRANCH_NAME"
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('build') {
|
||||
when {
|
||||
expression {
|
||||
BRANCH_NAME == 'master'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
script {
|
||||
echo "Building the application..."
|
||||
@@ -22,11 +16,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('deploy') {
|
||||
when {
|
||||
expression {
|
||||
BRANCH_NAME == 'master'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
script {
|
||||
echo "Deploying the application..."
|
||||
|
||||
Reference in New Issue
Block a user