From 3816a01fdf4cd51decfcdba5e58dba5c7efe2a23 Mon Sep 17 00:00:00 2001 From: cghislai Date: Sat, 27 Nov 2021 17:53:53 +0100 Subject: [PATCH] jenkinsfile fix --- Jenkinsfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 864d890..66cff19 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,9 +7,9 @@ pipeline { buildDiscarder(logRotator(numToKeepStr: '10')) } parameters { - string(name: 'APP_TITLE', defaultValue: 'Embedded Webview', description: 'Application title') - string(name: 'APP_URI', defaultValue: 'https://www.charlyghislain.com', description: 'Application uri') - string(name: 'APP_COLOR', defaultValue: 'red', description: 'Application color (blue, teal, ...)') + string(name: 'APP_TITLE', defaultValue: 'My Comptaplan', description: 'Application title') + string(name: 'APP_URI', defaultValue: 'https://my.comptaplan.be', description: 'Application uri') + string(name: 'APP_COLOR', defaultValue: 'blue', description: 'Application color (blue, teal, ...)') string(name: 'BUILD_MODE', defaultValue: 'debug', description: 'Flutter build mode (debug/release)') string(name: 'UPLOAD_TRACK', defaultValue: 'alpha', description: 'Upload track') string(name: 'RELEASE_MESSAGE', defaultValue: 'Nouvelle version', description: 'A release message') @@ -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/comptaplan_app.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"