Commit a655bd78 authored by Boris Djalal's avatar Boris Djalal

Trying addGitLabMRComment.

Signed-off-by: default avatarBoris Djalal <boris.djalal@eurecom.fr>
parent 69b838fb
......@@ -359,17 +359,19 @@ OAI CI Team''',
replyTo: 'no-reply@openairinterface.org',
subject: '$PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STAGE_STATUS',
to: GIT_COMMIT_EMAIL
gitlabCommitStatus(name: "test-boris") {
build job: 'test-boris',
parameters: [
string(name: 'eNB_Repository', value: String.valueOf(GIT_URL)),
string(name: 'eNB_Branch', value: String.valueOf(env.gitlabSourceBranch)),
string(name: 'eNB_CommitID', value: String.valueOf(env.gitlabMergeRequestLastCommit)),
booleanParam(name: 'eNB_mergeRequest', value: true),
string(name: 'eNB_TargetBranch', value: String.valueOf(env.gitlabTargetBranch))
]
}
}
def message = "OAI " + PROJECT_NAME + " build (" + BUILD_NUMBER + "); Build Status" + BUILD_STAGE_STATUS
addGitLabMRComment comment: message
// gitlabCommitStatus(name: "test-boris") {
// build job: 'test-boris',
// parameters: [
// string(name: 'eNB_Repository', value: String.valueOf(GIT_URL)),
// string(name: 'eNB_Branch', value: String.valueOf(env.gitlabSourceBranch)),
// string(name: 'eNB_CommitID', value: String.valueOf(env.gitlabMergeRequestLastCommit)),
// booleanParam(name: 'eNB_mergeRequest', value: true),
// string(name: 'eNB_TargetBranch', value: String.valueOf(env.gitlabTargetBranch))
// ]
// }
// }
}
success {
script {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment