Deploy only in main branch
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -95,6 +95,10 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Deploy frontend & backend') {
|
||||
when {
|
||||
branch 'main'
|
||||
}
|
||||
|
||||
agent any
|
||||
steps {
|
||||
sh '''
|
||||
|
||||
Reference in New Issue
Block a user