From 2b938618f6668fb388813715954d6bd43e11ae0f Mon Sep 17 00:00:00 2001 From: Max Nanis Date: Mon, 31 Aug 2026 08:58:05 -0700 Subject: jenkins p12 --- Jenkinsfile | 1 - test_utils/conftest.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 793b810..942519e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -52,7 +52,6 @@ pipeline { variable: 'ENV_TEST_FILE')]) { sh 'cp $ENV_TEST_FILE .env.test' } - sh "chmod 600 .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" diff --git a/test_utils/conftest.py b/test_utils/conftest.py index 256166d..0946209 100644 --- a/test_utils/conftest.py +++ b/test_utils/conftest.py @@ -204,11 +204,11 @@ def gr_repo( _ran[repo_url] = True ssh_cmd = ( - f"ssh -i {git_key_path} " + f'ssh -i "{git_key_path}" ' "-o IdentitiesOnly=yes " "-o StrictHostKeyChecking=no " ) - env = {"GIT_SSH_COMMAND": ssh_cmd} + env = {**os.environ, "GIT_SSH_COMMAND": ssh_cmd} print("SSH ENV", env) if repo_path.exists(): -- cgit v1.2.3