... | ... | @@ -33,9 +33,35 @@ This kind of slave jobs has no trigger. Only the eNB CI master triggers them wit |
|
|
|
|
|
Note that a slave job can be a standalone Jenkins, triggers by GitLab webhooks. See this template [job](https://oailab.eurecom.fr:8083/jenkins/job/CI-Sandbox-Ran/) for more details.
|
|
|
|
|
|
At time of writing, the eNB-CI slave jobs hosted at Eurecom are using the following parameters:
|
|
|
|
|
|
- **pythonExecutor** : a string that provides the name of the Jenkins node where pipeline and python will be executed. It could be `master` if run on the Jenkins server.
|
|
|
- **eNB_IPAddress** : a string that provides the IP address of the remote server that will run the eNB.
|
|
|
- **eNB_Credentials** : credentials that provide login information of the remote server that will run the eNB. It is usually a login/password combo.
|
|
|
- **eNB_SourceCodePath** : a string that provides the working path where to clone the eNB repository.
|
|
|
- **ADB_IPAddress** : a string that provides the IP address of the remote server that will control UEs.
|
|
|
- **ADB_Credentials** : credentials that provide login information of the remote server that will control UEs. It is usually a login/password combo.
|
|
|
- **EPC_IPAddress** : a string that provides the IP address of the remote server that will run the EPC.
|
|
|
- **EPC_Credentials** : credentials that provide login information of the remote server that will run the EPC. It is usually a login/password combo.
|
|
|
- **EPC_SourceCodePath** : a string that provides the working path where to clone the eNB repository.
|
|
|
- **EPC_Type** : a string that provides the kind of EPC we will use. Currently only 2 values are accepted (OAI or ltebox).
|
|
|
- **pythonTestXmlFile** : a string that provides the XML file to use for testing. It should be also under SCM (git).
|
|
|
|
|
|
The following 2 are optional:
|
|
|
|
|
|
- **pipelineTestStageName** : a string that provides the cosmetic name of the main stage.
|
|
|
- **pipelineZipsConsoleLog** : a boolean that indicates if the console log of the build is zipped and archived as an artifact. In Eurecom environment, it is set to `False` due to technical issues.
|
|
|
|
|
|
# 2. Source Control of the Jenkins pipeline script #
|
|
|
|
|
|
**IMPORTANT: the Jenkins Declarative Pipeline script file is retrieved from Source Control Management (SCM) under GIT w/ the `develop` branch.**
|
|
|
|
|
|
**It means that a temporary clone of the openairinterface5g repository is made on the latest version of `develop` branch to retrieve one file: `ci-scripts/Jenkinsfile-tmp-ran` template Jenkins file.**
|
|
|
|
|
|
This file will be loaded by the Jenkins master job and executed.
|
|
|
|
|
|
** This is also true for the main python `ci-scripts/main.py` script.**
|
|
|
|
|
|
# 3. Declarative Pipeline Script #
|
|
|
|
|
|
# 4. Python main script #
|
... | ... | |