Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GÉANT Service Orchestrator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GÉANT Orchestration and Automation Team
GAP
GÉANT Service Orchestrator
Commits
28f93592
Commit
28f93592
authored
1 year ago
by
Mohammad Torkashvand
Browse files
Options
Downloads
Patches
Plain Diff
add appEnvironmentVariables to jenkinsfile
parent
7dd5c98b
No related branches found
No related tags found
No related merge requests found
Pipeline
#84058
canceled
1 year ago
Stage: tox
Stage: documentation
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Jenkinsfile
+9
-1
9 additions, 1 deletion
Jenkinsfile
with
9 additions
and
1 deletion
Jenkinsfile
+
9
−
1
View file @
28f93592
...
@@ -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
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment