Skip to content
Snippets Groups Projects
Commit 28f93592 authored by Mohammad Torkashvand's avatar Mohammad Torkashvand
Browse files

add appEnvironmentVariables to jenkinsfile

parent 7dd5c98b
No related branches found
No related tags found
No related merge requests found
Pipeline #84058 canceled
...@@ -11,4 +11,12 @@ List<String> extraRecipients = ['erik.reid@geant.org'] ...@@ -11,4 +11,12 @@ List<String> extraRecipients = ['erik.reid@geant.org']
// python versions (docker tags) to test against, must be explicit versions // python versions (docker tags) to test against, must be explicit versions
List<String> pythonTestVersions = ['3.11'] List<String> pythonTestVersions = ['3.11']
SimplePythonBuild(name, extraRecipients, pythonTestVersions) // Environment variables you want to pass
Map<String, String> appEnvironmentVariables = [
'USE_ISOLATED_DOCKER_COMPOSE': '1',
// add more as needed
]
SimplePythonBuild(name, extraRecipients, pythonTestVersions, environmentVariables)
This assumes that your SimplePythonBuild function is set up to accept an additional environmentVariables parameter and can handle it accordingly. You would need to go into the actual function definition for SimplePythonBuild (which I assume is in
SimplePythonBuild(name, extraRecipients, pythonTestVersions, environmentVariables)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment