From bbf1d3a285e3810541e5be8f10b67f5349541bc7 Mon Sep 17 00:00:00 2001 From: Maciej Prill Date: Sun, 15 Jan 2023 13:15:28 +0100 Subject: [PATCH] Implement API address specification in Jenkinsfile. --- jenkins/Jenkinsfile-dev | 1 + jenkins/Jenkinsfile-prod | 1 + 2 files changed, 2 insertions(+) diff --git a/jenkins/Jenkinsfile-dev b/jenkins/Jenkinsfile-dev index a73fbf0..4baa830 100644 --- a/jenkins/Jenkinsfile-dev +++ b/jenkins/Jenkinsfile-dev @@ -15,6 +15,7 @@ pipeline { REACT_APP_KC_URL = 'https://auth-dev.csi.wmi.amu.edu.pl/' REACT_APP_KC_REALM = 'gonito-dev' REACT_APP_KC_CLIENT_ID = 'gonito-front-dev' + REACT_APP_API = 'https://gonito-back-dev.csi.wmi.amu.edu.pl/api' } stages { stage('Build') { diff --git a/jenkins/Jenkinsfile-prod b/jenkins/Jenkinsfile-prod index e1a8212..9616728 100644 --- a/jenkins/Jenkinsfile-prod +++ b/jenkins/Jenkinsfile-prod @@ -15,6 +15,7 @@ pipeline { REACT_APP_KC_URL = 'https://auth.csi.wmi.amu.edu.pl/' REACT_APP_KC_REALM = 'csi-gonito' REACT_APP_KC_CLIENT_ID = 'gonito-frontend' + REACT_APP_API = 'https://gonito.net/api' } stages { stage('Build') {