Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ZhouShuya
OpenXG-RAN
Commits
f70d52d0
Commit
f70d52d0
authored
Sep 13, 2019
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: trying to modify git env vars
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
56387d23
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
ci-scripts/Jenkinsfile-gitlab-replay
ci-scripts/Jenkinsfile-gitlab-replay
+4
-2
No files found.
ci-scripts/Jenkinsfile-gitlab-replay
View file @
f70d52d0
...
...
@@ -41,6 +41,10 @@ pipeline {
gitLabConnection
(
'OAI GitLab'
)
ansiColor
(
'xterm'
)
}
environment
{
GIT_BRANCH
=
"${ReplayGitSrcBranch}"
GIT_COMMIT
=
"${ReplayGitSrcCommit}"
}
stages
{
stage
(
"Verify Parameters"
)
{
...
...
@@ -84,8 +88,6 @@ pipeline {
checkout
changelog:
false
,
poll:
false
,
scm:
[
$class
:
'GitSCM'
,
branches:
[[
name:
"${ReplayGitSrcBranch}"
]],
doGenerateSubmoduleConfigurations:
false
,
extensions:
[[
$class
:
'CleanBeforeCheckout'
]],
submoduleCfg:
[],
userRemoteConfigs:
[[
url:
'https://gitlab.eurecom.fr/oai/openairinterface5g.git'
]]]
sh
"git checkout -f ${ReplayGitSrcCommit}"
sh
"git log -n1"
env
.
GIT_BRANCH
=
ReplayGitSrcBranch
env
.
GIT_COMMIT
=
ReplayGitSrcCommit
}
}
post
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment