aboutsummaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorMax Nanis2026-08-30 23:38:33 -0700
committerMax Nanis2026-08-30 23:38:33 -0700
commit8761c07e2f27373739cf966ab08e7ea3b55de06e (patch)
tree35a3baf75f9f4a3dc20020f62e447ec3de35021e /Jenkinsfile
parent32dc99ab32994928fc4ed2bb7d397cefb205124e (diff)
downloadgeneralresearch-8761c07e2f27373739cf966ab08e7ea3b55de06e.tar.gz
generalresearch-8761c07e2f27373739cf966ab08e7ea3b55de06e.zip
jenkins p7
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index deb4cea..942519e 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -47,6 +47,11 @@ pipeline {
deleteDir()
unstash 'source'
+ withCredentials([file(
+ credentialsId: '971e1f48-09ce-4446-9155-a52c1adb6249',
+ variable: 'ENV_TEST_FILE')]) {
+ sh 'cp $ENV_TEST_FILE .env.test'
+ }
sh "/usr/local/bin/${PYTHON_VERSION} -m venv ${VENV}-${PYTHON_VERSION}"
sh "${VENV}-${PYTHON_VERSION}/bin/pip install -U setuptools wheel pip"
sh "${VENV}-${PYTHON_VERSION}/bin/pip install -r requirements.txt"