Обновить 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 { options {
buildDiscarder(logRotator(numToKeepStr: '10')) buildDiscarder(logRotator(numToKeepStr: '10'))
disableConcurrentBuilds() disableConcurrentBuilds()
timeout(time: 60, unit: 'MINUTES') timeout(time: 1, unit: 'MINUTES')
timestamps() timestamps()
} }
@@ -22,10 +22,6 @@ pipeline {
booleanParam(name: 'CLEAN_BUILD', defaultValue: true, description: 'Run flutter clean before build') booleanParam(name: 'CLEAN_BUILD', defaultValue: true, description: 'Run flutter clean before build')
} }
triggers {
cron('H 2 * * *')
}
stages { stages {
stage('Preparation') { stage('Preparation') {
steps { steps {
@@ -45,8 +41,8 @@ pipeline {
stage('Environment Setup') { stage('Environment Setup') {
steps { steps {
script { script {
env.PATH = "/soft/flutter/bin/" //env.PATH = "/soft/flutter/bin/"
sh 'flutter doctor -v' sh '/soft/flutter/bin/flutter doctor -v'
} }
} }
} }