From fe20d4ba37b1faa096b8a87e6bb73c1c1366d0fb Mon Sep 17 00:00:00 2001 From: william <william.vonhagen@gmail.com> Date: Thu, 12 Jun 2025 00:43:54 +0000 Subject: [PATCH] Update 'Jenkinsfile' --- Jenkinsfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0ba86e4..44a6876 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,5 +1,10 @@ pipeline { agent any + + environment { + FIREBASE_TOKEN = '1//01qpBX7fJp_MkCgYIARAAGAESNwF-L9IrxNCVYfwDg6jE_bhT0-ja1yQGO1Wxn2mFd8cH1O15uC8Nv2b1NXpEp8-oQXdabUXLJqM' + } + stages { stage("Checkout and build react app") { when { expression { true } } @@ -11,10 +16,6 @@ pipeline { bat 'npm i -g firebase-tools -f' // force install bat 'npm run build' } - - environment { - FIREBASE_TOKEN = '1//01qpBX7fJp_MkCgYIARAAGAESNwF-L9IrxNCVYfwDg6jE_bhT0-ja1yQGO1Wxn2mFd8cH1O15uC8Nv2b1NXpEp8-oQXdabUXLJqM' - } bat ''' echo "${FIREBASE_TOKEN}"