doc(ci): restriction on branch naming no longer appply
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
@@ -16,8 +16,6 @@ Please refer to the steps described on our website: [How to contribute to OAI](h
|
|||||||
* This decision was made for the license reasons.
|
* This decision was made for the license reasons.
|
||||||
* The Continuous Integration will reject your merge request.
|
* The Continuous Integration will reject your merge request.
|
||||||
- All merge requests SHALL have `develop` branch as target branch.
|
- All merge requests SHALL have `develop` branch as target branch.
|
||||||
- All merge requests SHALL have source branch names that SHALL not contain the `/` character.
|
|
||||||
* We are using a `docker` registry scheme and the image names are based on the source branch name.
|
|
||||||
|
|
||||||
## Coding Styles ##
|
## Coding Styles ##
|
||||||
|
|
||||||
|
|||||||
@@ -589,6 +589,7 @@ def triggerCN5GSlaveJob (jobName, gitlabStatusName) {
|
|||||||
if ("MERGE".equals(env.gitlabActionType)) {
|
if ("MERGE".equals(env.gitlabActionType)) {
|
||||||
shortenShaOne = sh returnStdout: true, script: 'git log -1 --pretty=format:"%h" --abbrev=8 ' + env.gitlabMergeRequestLastCommit
|
shortenShaOne = sh returnStdout: true, script: 'git log -1 --pretty=format:"%h" --abbrev=8 ' + env.gitlabMergeRequestLastCommit
|
||||||
shortenShaOne = shortenShaOne.trim()
|
shortenShaOne = shortenShaOne.trim()
|
||||||
|
branchName = env.gitlabSourceBranch.replaceAll("/", "-").trim()
|
||||||
fullRanTag = 'porcepix.sboai.cs.eurecom.fr/oai-gnb:' + env.gitlabSourceBranch + '-' + shortenShaOne
|
fullRanTag = 'porcepix.sboai.cs.eurecom.fr/oai-gnb:' + env.gitlabSourceBranch + '-' + shortenShaOne
|
||||||
} else {
|
} else {
|
||||||
shortenShaOne = sh returnStdout: true, script: 'git log -1 --pretty=format:"%h" --abbrev=8 ' + env.GIT_COMMIT
|
shortenShaOne = sh returnStdout: true, script: 'git log -1 --pretty=format:"%h" --abbrev=8 ' + env.GIT_COMMIT
|
||||||
|
|||||||
Reference in New Issue
Block a user