Обновить Jenkinsfile
This commit is contained in:
Vendored
+11
-11
@@ -54,11 +54,11 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Flutter clean') {
|
||||
when {
|
||||
expression {
|
||||
params.CLEAN_BUILD == true
|
||||
}
|
||||
}
|
||||
// when {
|
||||
// expression {
|
||||
// params.CLEAN_BUILD == true
|
||||
// }
|
||||
// }
|
||||
steps {
|
||||
sh 'flutter clean'
|
||||
}
|
||||
@@ -169,12 +169,12 @@ pipeline {
|
||||
// }
|
||||
|
||||
stage('Build Web') {
|
||||
when {
|
||||
expression {
|
||||
def buildType = params.BUILD_TYPE.toLowerCase()
|
||||
buildType == 'all' || buildType == 'web'
|
||||
}
|
||||
}
|
||||
// when {
|
||||
// expression {
|
||||
// def buildType = params.BUILD_TYPE.toLowerCase()
|
||||
// buildType == 'all' || buildType == 'web'
|
||||
// }
|
||||
// }
|
||||
steps {
|
||||
script {
|
||||
currentBuild.displayName = "#${currentBuild.number} - Web"
|
||||
|
||||
Reference in New Issue
Block a user