Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
oai-cn5g-fed
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
oai
cn5g
oai-cn5g-fed
Commits
0f877e58
Commit
0f877e58
authored
4 years ago
by
Raphael Defosseux
Browse files
Options
Downloads
Patches
Plain Diff
CI: in case of upstream trigger, we run on a given tag
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
4f8e65f9
No related branches found
Branches containing commit
Tags
MIGRATION_OK_20200121_VERSION_A
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ci-scripts/Jenkinsfile-GitLab-Docker
+5
-0
5 additions, 0 deletions
ci-scripts/Jenkinsfile-GitLab-Docker
with
5 additions
and
0 deletions
ci-scripts/Jenkinsfile-GitLab-Docker
+
5
−
0
View file @
0f877e58
...
...
@@ -38,6 +38,9 @@ def cn_ci_host = params.Host_CN_CI_Server
def
cn_ci_resource
=
params
.
DockerContainers
def
ds_tester_ci_resource
=
params
.
DsTester
// When triggered by upstream, specify which tag to use
def
upstreamTagToUse
=
params
.
upstreamTagToUse
// Location of the 2nd CN executor
def
new_host_flag
=
false
def
new_host
=
""
...
...
@@ -150,6 +153,8 @@ pipeline {
echo
"Upstream Job passed SMF_BRANCH to use: ${smfBranch}"
}
sh
"git clean -x -d -f > /dev/null 2>&1"
sh
"git fetch --prune > /dev/null 2>&1"
sh
'git checkout -f '
+
upstreamTagToUse
sh
"zip -r -qq oai-cn5g-fed.zip .git"
sh
"mkdir -p archives DS-TEST-RESULTS"
sh
'./scripts/syncComponents.sh --amf-branch '
+
amfBranch
+
' --smf-branch '
+
smfBranch
...
...
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