Build and archive Android AAB in CI
This commit is contained in:
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@@ -18,12 +18,16 @@ pipeline {
|
||||
}
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'cd refilc && flutter build apk --release'
|
||||
sh '''
|
||||
cd refilc
|
||||
flutter build apk --release
|
||||
flutter build appbundle --release
|
||||
'''
|
||||
}
|
||||
}
|
||||
stage('Archive') {
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user