From 031b48df24ef3e039f3336f597f2be7e759b5a76 Mon Sep 17 00:00:00 2001 From: rezidir Date: Sun, 17 May 2026 12:01:43 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20Jenkinsfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index a8dc08a..939f059 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,29 +14,29 @@ pipeline { timestamps() } - parameters { - string(name: 'BUILD_TYPE', defaultValue: 'all', description: 'Build type: all, android, web') - string(name: 'ANDROID_FLAVOR', defaultValue: 'release', description: 'Android build: debug, release') - string(name: 'VERSION_NAME', defaultValue: '', description: 'Override version name (optional)') - string(name: 'VERSION_CODE', defaultValue: '', description: 'Override version code (optional)') - booleanParam(name: 'CLEAN_BUILD', defaultValue: true, description: 'Run flutter clean before build') - } + // parameters { + // string(name: 'BUILD_TYPE', defaultValue: 'all', description: 'Build type: all, android, web') + // string(name: 'ANDROID_FLAVOR', defaultValue: 'release', description: 'Android build: debug, release') + // string(name: 'VERSION_NAME', defaultValue: '', description: 'Override version name (optional)') + // string(name: 'VERSION_CODE', defaultValue: '', description: 'Override version code (optional)') + // booleanParam(name: 'CLEAN_BUILD', defaultValue: true, description: 'Run flutter clean before build') + // } - stages { - stage('Preparation') { - steps { - script { - def buildType = params.BUILD_TYPE.toLowerCase() - if (buildType == 'all' || buildType == 'android') { - currentBuild.description = "Android ${params.ANDROID_FLAVOR}" - } else if (buildType == 'web') { - currentBuild.description = "Web" - } else { - error("Unknown BUILD_TYPE: ${buildType}. Use 'all', 'android', or 'web'") - } - } - } - } + // stages { + // stage('Preparation') { + // steps { + // script { + // def buildType = params.BUILD_TYPE.toLowerCase() + // if (buildType == 'all' || buildType == 'android') { + // currentBuild.description = "Android ${params.ANDROID_FLAVOR}" + // } else if (buildType == 'web') { + // currentBuild.description = "Web" + // } else { + // error("Unknown BUILD_TYPE: ${buildType}. Use 'all', 'android', or 'web'") + // } + // } + // } + // } stage('Environment Setup') { steps {