Обновить Jenkinsfile
This commit is contained in:
Vendored
+11
-11
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user