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
lizhongxiao
OpenXG-RAN
Commits
494f26a7
Commit
494f26a7
authored
Apr 19, 2019
by
Boris Djalal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code formatting.
Signed-off-by:
Boris Djalal
<
boris.djalal@eurecom.fr
>
parent
b923c712
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
276 additions
and
274 deletions
+276
-274
ci-scripts/test-boris-Jenkinsfile
ci-scripts/test-boris-Jenkinsfile
+276
-274
No files found.
ci-scripts/test-boris-Jenkinsfile
View file @
494f26a7
...
...
@@ -24,11 +24,11 @@
// Abstraction function to send social media messages:
// like on Slack or Mattermost
def
sendSocialMediaMessage
(
pipeChannel
,
pipeColor
,
pipeMessage
)
{
if
(
params
.
pipelineUsesSlack
!=
null
)
{
if
(
params
.
pipelineUsesSlack
)
{
if
(
params
.
pipelineUsesSlack
!=
null
)
{
if
(
params
.
pipelineUsesSlack
)
{
slackSend
channel:
pipeChannel
,
color:
pipeColor
,
message:
pipeMessage
}
}
}
}
}
...
...
@@ -64,17 +64,18 @@ def EPC_Password = "none"
pipeline
{
agent
{
label
pythonExecutor
}
options
{
disableConcurrentBuilds
()
timestamps
()
gitLabConnection
(
'OAI GitLab'
)
ansiColor
(
'xterm'
)
agent
{
label
pythonExecutor
}
options
{
disableConcurrentBuilds
()
timestamps
()
gitLabConnection
(
'OAI GitLab'
)
ansiColor
(
'xterm'
)
}
stages
{
stage
(
'Retrieve latest from branch'
)
{
stages
{
stage
(
'Retrieve latest from branch'
)
{
steps
{
script
{
checkout
([
$class
:
'GitSCM'
,
branches:
[[
name:
'*/gNB-nrUE-USRP'
]],
doGenerateSubmoduleConfigurations:
false
,
extensions:
[],
submoduleCfg:
[],
userRemoteConfigs:
[[
url:
'https://gitlab.eurecom.fr/oai/openairinterface5g.git'
]]])
...
...
@@ -82,8 +83,8 @@ stage ('Retrieve latest from branch') {
sh
"git log -n1"
}
}
}
stage
(
"P
rint latest commit info"
)
{
}
stage
(
"p
rint latest commit info"
)
{
steps
{
script
{
echo
"Building on: "
...
...
@@ -94,8 +95,8 @@ stage ("Print latest commit info") {
//eNB_Repository = ${GIT_URL}
}
}
}
stage
(
"Verify Parameters"
)
{
}
stage
(
"Verify Parameters"
)
{
steps
{
script
{
JOB_TIMESTAMP
=
sh
returnStdout:
true
,
script:
'date --utc --rfc-3339=seconds | sed -e "s#+00:00##"'
...
...
@@ -195,9 +196,9 @@ stage ("Verify Parameters") {
//echo "params.ADB_IPAddress = ${params.ADB_IPAddress}"
}
}
}
}
stage
(
"Build and Test"
)
{
stage
(
"Build and Test"
)
{
steps
{
script
{
dir
(
'ci-scripts'
)
{
...
...
@@ -240,9 +241,9 @@ stage ("Build and Test") {
}
}
}
}
}
stage
(
"Terminate"
)
{
stage
(
"Terminate"
)
{
parallel
{
stage
(
'Terminate NR UE'
)
{
steps
{
...
...
@@ -269,9 +270,9 @@ stage ("Terminate") {
}
}
}
}
}
stage
(
'Log Collection'
)
{
stage
(
'Log Collection'
)
{
parallel
{
stage
(
'Log Collection (gNB and NR UE - Build)'
)
{
steps
{
...
...
@@ -338,9 +339,10 @@ stage('Log Collection') {
}
}
}
}
}
post
{
}
}
post
{
always
{
script
{
// Stage destroy may not be run if error in previous stage
...
...
@@ -350,7 +352,7 @@ post {
echo
"buildStageStatus = ${buildStageStatus}"
emailext
attachmentsPattern:
'*results*.html'
,
body:
'''Hi,
Here are attached HTML report files for $PROJECT_NAME - Build # $BUILD_NUMBER - $
buildStageStatus
!
Here are attached HTML report files for $PROJECT_NAME - Build # $BUILD_NUMBER - $
{buildStageStatus}
!
Regards,
OAI CI Team'''
,
...
...
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