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