todo, and fix cd path

This commit is contained in:
Zypherift 2024-05-21 23:24:45 +02:00
parent 14ab0c4ce3
commit 16f2593d22

5
Jenkinsfile vendored
View File

@ -6,6 +6,7 @@ pipeline {
ANDROID_PATH="$ANDROID_SDK/tools:$ANDROID_SDK/platform-tools"
FLUTTER = '/home/jenkins/flutter_things/flutter/bin'
PATH = "$PATH:$ANDROID_PATH:$FLUTTER"
//TODO: need to fix flutter
}
@ -27,14 +28,14 @@ pipeline {
stage('Dependencies') {
steps {
// Get Flutter dependencies
sh 'flutter pub get'
sh 'cd refilc && flutter pub get'
}
}
stage('Build') {
steps {
// Build the Flutter project
sh 'flutter build apk --release'
sh 'cd refilc && flutter build apk --release'
}
}