Обновить Jenkinsfile

This commit is contained in:
2026-05-17 12:09:57 +03:00
parent ffe657939d
commit 1d2fbe117e
Vendored
+11 -11
View File
@@ -54,11 +54,11 @@ pipeline {
} }
stage('Flutter clean') { stage('Flutter clean') {
when { // when {
expression { // expression {
params.CLEAN_BUILD == true // params.CLEAN_BUILD == true
} // }
} // }
steps { steps {
sh 'flutter clean' sh 'flutter clean'
} }
@@ -169,12 +169,12 @@ pipeline {
// } // }
stage('Build Web') { stage('Build Web') {
when { // when {
expression { // expression {
def buildType = params.BUILD_TYPE.toLowerCase() // def buildType = params.BUILD_TYPE.toLowerCase()
buildType == 'all' || buildType == 'web' // buildType == 'all' || buildType == 'web'
} // }
} // }
steps { steps {
script { script {
currentBuild.displayName = "#${currentBuild.number} - Web" currentBuild.displayName = "#${currentBuild.number} - Web"