This commit is contained in:
parent
900b76a4db
commit
8f0f993a64
|
@ -66,7 +66,9 @@ pipeline {
|
|||
sh 'pnpm install --prefer-offline'
|
||||
}
|
||||
}
|
||||
stage('Test: Unit') {
|
||||
stage('Test') {
|
||||
stages {
|
||||
stage('Unit') {
|
||||
when {
|
||||
expression { !PROTECTED_BRANCH }
|
||||
}
|
||||
|
@ -136,6 +138,8 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Build') {
|
||||
when {
|
||||
expression { PROTECTED_BRANCH }
|
||||
|
|
Loading…
Reference in New Issue