Files
flutter/Jenkinsfile
4831c0 4cb9e7d146
Some checks failed
Lock Threads / lock (push) Has been cancelled
No Response / noResponse (push) Has been cancelled
Jenkinsfile: automatically update flutter checkout
2025-08-11 10:04:08 +02:00

34 lines
784 B
Groovy

pipeline {
agent { label 'ubuntu' }
environment {
PATH = "/home/jenkins/depot_tools:${env.PATH}"
}
stages {
stage('Update flutter checkout') {
steps {
script {
sh '''#!/bin/sh
set -xe
cd /home/jenkins/development/flutter
git pull
'''
}
}
}
stage('Build release') {
steps {
script {
sh '''#!/bin/sh
set -xe
. dev/tools/envsetup.sh
gclient sync -D
./dev/tools/build_release.sh
'''
}
}
}
}
}