From 100633d3e848f99603895127bf3dc0aada683f76 Mon Sep 17 00:00:00 2001 From: andrzej Date: Sun, 26 May 2024 17:16:56 +0200 Subject: [PATCH] load token from jenkins --- .gitignore | 1 + Jenkinsfile | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index e6715c3..7801036 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ dist-ssr *.sw? src/conf.js .env +.env.production diff --git a/Jenkinsfile b/Jenkinsfile index 16db2f3..4fab7d4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,5 +1,8 @@ pipeline { agent any + environment{ + VITE_TOKEN=credentials('TMDB_TOKEN') + } stages { stage('build'){ steps{