Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
cn5g
oai-cn5g-fed
Commits
14af02fc
Commit
14af02fc
authored
Jul 08, 2021
by
Raphael Defosseux
Browse files
CI: adding support for SPGWU to trigger this pipeline
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
6cb90057
Changes
1
Hide whitespace changes
Inline
Side-by-side
ci-scripts/Jenkinsfile-GitLab-Docker
View file @
14af02fc
...
...
@@ -163,6 +163,14 @@ pipeline {
smfBranch
=
params
.
SMF_BRANCH
echo
"Upstream Job passed SMF_BRANCH to use: ${smfBranch}"
}
if
(
params
.
SPGWU_TAG
!=
null
)
{
spgwuTag
=
params
.
SPGWU_TAG
echo
"Upstream Job passed SPGWU_TAG to use: ${spgwuTag}"
}
if
(
params
.
SPGWU_BRANCH
!=
null
)
{
spgwuBranch
=
params
.
SPGWU_BRANCH
echo
"Upstream Job passed SPGWU_BRANCH to use: ${spgwuBranch}"
}
sh
"git clean -x -d -f > /dev/null 2>&1"
sh
"git fetch --prune > /dev/null 2>&1"
sh
'git checkout -f '
+
upstreamTagToUse
...
...
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