Обновить Jenkinsfile

This commit is contained in:
2026-05-17 11:16:01 +03:00
parent 7bfc722c5a
commit 12da4d7f97
Vendored
+3 -7
View File
@@ -10,7 +10,7 @@ pipeline {
options {
buildDiscarder(logRotator(numToKeepStr: '10'))
disableConcurrentBuilds()
timeout(time: 60, unit: 'MINUTES')
timeout(time: 1, unit: 'MINUTES')
timestamps()
}
@@ -22,10 +22,6 @@ pipeline {
booleanParam(name: 'CLEAN_BUILD', defaultValue: true, description: 'Run flutter clean before build')
}
triggers {
cron('H 2 * * *')
}
stages {
stage('Preparation') {
steps {
@@ -45,8 +41,8 @@ pipeline {
stage('Environment Setup') {
steps {
script {
env.PATH = "/soft/flutter/bin/"
sh 'flutter doctor -v'
//env.PATH = "/soft/flutter/bin/"
sh '/soft/flutter/bin/flutter doctor -v'
}
}
}