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
69912f4b
Commit
69912f4b
authored
Apr 19, 2019
by
Boris Djalal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test
Signed-off-by:
Boris Djalal
<
boris.djalal@eurecom.fr
>
parent
4fc676db
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
ci-scripts/test-boris-Jenkinsfile
ci-scripts/test-boris-Jenkinsfile
+7
-7
No files found.
ci-scripts/test-boris-Jenkinsfile
View file @
69912f4b
...
...
@@ -35,7 +35,7 @@ def sendSocialMediaMessage(pipeChannel, pipeColor, pipeMessage) {
// Location of the test XML file to be run
def
testXMLFile
=
params
.
pythonTestXmlFile
def
mainPythonAllXmlFiles
=
""
def
buildStageStatus
=
true
def
BUILD_STAGE_STATUS
=
true
// Terminate Status
def
termUE
=
0
...
...
@@ -217,7 +217,7 @@ pipeline {
echo
"params.eNB_SourceCodePath = ${params.eNB_SourceCodePath}"
echo
"ADB_IPAddress = ${ADB_IPAddress}"
echo
"EPC_IPAddress = ${EPC_IPAddress}"
echo
"
buildStageStatus = ${buildStageStatus
}"
echo
"
BUILD_STAGE_STATUS = ${BUILD_STAGE_STATUS
}"
withCredentials
([
[
$class
:
'UsernamePasswordMultiBinding'
,
credentialsId:
"${params.eNB_Credentials}"
,
usernameVariable:
'eNB_Username'
,
passwordVariable:
'eNB_Password'
],
[
$class
:
'UsernamePasswordMultiBinding'
,
credentialsId:
"${params.UE_Credentials}"
,
usernameVariable:
'UE_Username'
,
passwordVariable:
'UE_Password'
]
...
...
@@ -232,11 +232,11 @@ pipeline {
//sh "python3 main.py --mode=TesteNB --eNBIPAddress=${params.eNB_IPAddress} --eNBUserName=${eNB_Username} --eNBPassword=${params.eNB_Password} --eNBBranch=${eNB_Branch} --eNBSourceCodePath=${params.eNB_SourceCodePath} --eNBRepository=${eNB_Repository} --eNBCommitID=${eNB_CommitID} --ADBIPAddress=${ADB_IPAddress} --EPCIPAddress=${EPC_IPAddress} --XMLTestFile=${xmlFile}"
}
catch
(
Exception
e
)
{
currentBuild
.
result
=
'FAILURE'
buildStageStatus
=
false
BUILD_STAGE_STATUS
=
false
}
}
}
sh
"python3 main.py --mode=FinalizeHtml --finalStatus=${
buildStageStatus
} --eNBIPAddress=${params.eNB_IPAddress} --eNBUserName=${eNB_Username} --eNBPassword=${eNB_Password}"
sh
"python3 main.py --mode=FinalizeHtml --finalStatus=${
BUILD_STAGE_STATUS
} --eNBIPAddress=${params.eNB_IPAddress} --eNBUserName=${eNB_Username} --eNBPassword=${eNB_Password}"
}
}
}
...
...
@@ -349,15 +349,15 @@ pipeline {
//sh "./ci-scripts/oai-ci-vm-tool destroy --job-name ${JOB_NAME} --build-id ${BUILD_ID}"
echo
"PROJECT_NAME = ${PROJECT_NAME}"
echo
"BUILD_NUMBER = ${BUILD_NUMBER}"
echo
"
buildStageStatus = ${buildStageStatus
}"
echo
"
BUILD_STAGE_STATUS = ${BUILD_STAGE_STATUS
}"
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 - $
BUILD_STAGE_STATUS
Regards,
OAI CI Team'''
,
replyTo:
'no-reply@openairinterface.org'
,
subject:
'$PROJECT_NAME - Build # $BUILD_NUMBER - $
buildStageStatus
'
,
subject:
'$PROJECT_NAME - Build # $BUILD_NUMBER - $
BUILD_STAGE_STATUS
'
,
to:
GIT_COMMIT_EMAIL
}
}
...
...
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