Build and archive Android AAB in CI

This commit is contained in:
zypherift
2026-04-05 02:28:03 +02:00
parent 4385785bb8
commit 6fde731fe8

8
Jenkinsfile vendored
View File

@@ -18,12 +18,16 @@ pipeline {
} }
stage('Build') { stage('Build') {
steps { steps {
sh 'cd refilc && flutter build apk --release' sh '''
cd refilc
flutter build apk --release
flutter build appbundle --release
'''
} }
} }
stage('Archive') { stage('Archive') {
steps { steps {
archiveArtifacts artifacts: 'refilc/build/app/outputs/flutter-apk/app-release.apk', archiveArtifacts artifacts: 'refilc/build/app/outputs/flutter-apk/app-release.apk,refilc/build/app/outputs/bundle/release/app-release.aab',
fingerprint: true fingerprint: true
} }
} }