jenkinsfile fix
This commit is contained in:
parent
202bdab666
commit
53116080e4
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -63,12 +63,12 @@ pipeline {
|
|||
sh '''
|
||||
VERSION_CODE=$(./tools/jenkins-increment-buildnumber.sh || echo $?)
|
||||
[ "$VERSION_CODE" == "0" ] && exit 1
|
||||
git config user.email "jenkins@valuya.be"
|
||||
git config user.email "jenkins@valuya.com"
|
||||
git config user.name "Jenkins release"
|
||||
git add pubspec.yaml
|
||||
git remote add ssh "ssh://git@gitea.fteamdev.valuya.be:2022/fiscalteam/nitro-trustee-mobile.git"
|
||||
git remote add ssh "ssh://git@gitea.valuya.com:2022/Valuya/embedded_webview.git"
|
||||
git commit -m "Bump to build $VERSION_CODE"
|
||||
export GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/var/run/ssh/known_hosts.gitea.fteamdev.valuya.be"
|
||||
export GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/var/run/ssh/known_hosts.gitea.valuya.com"
|
||||
git push ssh HEAD:$GIT_PUSH_BRANCH
|
||||
if [ "$SKIP_PUSH_TAG" != "true" ] ; then
|
||||
git tag "$GIT_TAG"
|
||||
|
|
|
@ -49,12 +49,17 @@ android {
|
|||
versionCode flutterVersionCode.toInteger()
|
||||
versionName flutterVersionName
|
||||
}
|
||||
|
||||
signingConfigs {
|
||||
release {
|
||||
keyAlias keystoreProperties['keyAlias']
|
||||
keyPassword keystoreProperties['keyPassword']
|
||||
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
|
||||
storePassword keystoreProperties['storePassword']
|
||||
}
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
// TODO: Add your own signing config for the release build.
|
||||
// Signing with the debug keys for now, so `flutter run --release` works.
|
||||
signingConfig signingConfigs.debug
|
||||
signingConfig signingConfigs.release
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue
Block a user