From 07be37aab903376c899c0bfb0264ac080eba6e03 Mon Sep 17 00:00:00 2001 From: rezidir Date: Sun, 17 May 2026 11:48:52 +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 | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ad94f30..8f7a2aa 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -48,7 +48,7 @@ pipeline { script { //def ANDROID_HOME = "/opt/flutter" //env.PATH = "${flutterHome}/bin:${env.PATH}" - sh 'find /soft -name "*droid*"' + //sh 'find /soft -name "*droid*"' } } } @@ -182,13 +182,20 @@ pipeline { def extraArgs = '' if (params.VERSION_NAME) extraArgs += " --build-name=${params.VERSION_NAME}" if (params.VERSION_CODE) extraArgs += " --build-number=${params.VERSION_CODE}" - + sh "rm -f web.zip" sh "flutter build web --release${extraArgs}" + sh "cd build/web && zip -r ../../web.zip *" + archiveArtifacts 'web.zip' + sh "rm -f web.zip" + } } post { success { - archiveArtifacts artifacts: "build/web/**/*", fingerprint: true + sh "cd build/web && zip -r ../../web.zip *" + archiveArtifacts 'web.zip' + sh "rm -f web.zip" + // archiveArtifacts artifacts: "build/web/**/*", fingerprint: true } } }