Compare commits

...

2 Commits

Author SHA1 Message Date
a1dd4055a3 fix
Some checks failed
gestemps/comptaplanapp/pipeline/head There was a failure building this commit
2021-11-27 18:28:21 +01:00
5e8f43b92a typo 2021-11-27 18:26:13 +01:00
2 changed files with 8 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -35,7 +35,7 @@ pipeline {
sh 'flutter doctor'
sh 'GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/var/run/ssh/known_hosts.gitea.valuya.com" flutter pub get'
sh 'flutter clean'
sh 'APP_TITLE="$APP_TITLE" APP_URI="$APP_URI" APP_COLOR="$APP_COLOR" BUILDMODE="$BUILD_MODEs" ./tools/jenkins-build-android.sh'
sh 'APP_TITLE="$APP_TITLE" APP_URI="$APP_URI" APP_COLOR="$APP_COLOR" BUILDMODE="$BUILD_MODE" ./tools/jenkins-build-android.sh'
stash(name: 'outputs', includes: 'build/app/outputs/**')
}
}

View File

@ -21,6 +21,13 @@ if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"