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
Merge requests
!67
add appEnvironmentVariables to jenkinsfile
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
add appEnvironmentVariables to jenkinsfile
feature/add-app-env-support-to-jenkinsfile
into
develop
Overview
0
Commits
1
Pipelines
4
Changes
1
Merged
Mohammad Torkashvand
requested to merge
feature/add-app-env-support-to-jenkinsfile
into
develop
1 year ago
Overview
0
Commits
1
Pipelines
4
Changes
1
Expand
0
0
Merge request reports
Compare
develop
version 3
4f43c286
1 year ago
version 2
28f93592
1 year ago
version 1
986b3c7a
1 year ago
develop (base)
and
version 2
latest version
cfd54b05
1 commit,
1 year ago
version 3
4f43c286
1 commit,
1 year ago
version 2
28f93592
1 commit,
1 year ago
version 1
986b3c7a
1 commit,
1 year ago
1 file
+
9
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Jenkinsfile
+
9
−
1
Options
@@ -11,4 +11,12 @@ List<String> extraRecipients = ['erik.reid@geant.org']
// python versions (docker tags) to test against, must be explicit versions
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
)
Loading