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''', ...@@ -359,17 +359,19 @@ OAI CI Team''',
replyTo: 'no-reply@openairinterface.org', replyTo: 'no-reply@openairinterface.org',
subject: '$PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STAGE_STATUS', subject: '$PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STAGE_STATUS',
to: GIT_COMMIT_EMAIL to: GIT_COMMIT_EMAIL
gitlabCommitStatus(name: "test-boris") { def message = "OAI " + PROJECT_NAME + " build (" + BUILD_NUMBER + "); Build Status" + BUILD_STAGE_STATUS
build job: 'test-boris', addGitLabMRComment comment: message
parameters: [ // gitlabCommitStatus(name: "test-boris") {
string(name: 'eNB_Repository', value: String.valueOf(GIT_URL)), // build job: 'test-boris',
string(name: 'eNB_Branch', value: String.valueOf(env.gitlabSourceBranch)), // parameters: [
string(name: 'eNB_CommitID', value: String.valueOf(env.gitlabMergeRequestLastCommit)), // string(name: 'eNB_Repository', value: String.valueOf(GIT_URL)),
booleanParam(name: 'eNB_mergeRequest', value: true), // string(name: 'eNB_Branch', value: String.valueOf(env.gitlabSourceBranch)),
string(name: 'eNB_TargetBranch', value: String.valueOf(env.gitlabTargetBranch)) // 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 { success {
script { 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