Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Jenkins and GitLab
  • From: Dennis Hendriks <dh_tue@xxxxxxxxxxx>
  • Date: Tue, 8 Dec 2020 15:41:37 +0000
  • Accept-language: nl-NL, en-US
  • Arc-authentication-results: i=1; 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed;; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SDyP8Vt1TjaGczkPbK43wNblXCw4HC7cESjOOx0IrN4=; b=HLuddpA21/W0Bkw7ysakniCJochwS6S0U0QOJg46ln00sVk9BU5ncdt1IBg1Cvzlrwxk38Giv9FijYfXBCksVCKGkurGY2BpTDYYDq/5vVnVV6o2v3sykCGQpNopZ16HgSl1BIbf0i7LGYtgQkvgAv6t846fWlkq0Dz6AGOQPaOi/0q15u7RfOZIJgFmZummmRFIdKqkPK2FyNI8Tlr6hxp7up9fNjvHhhxvWcV8AIMdn+x5pXIG/QHg7KUUi3wTuJUkIRFbllKIVPA+qDof71LZEHHiCtvXMo/fGRFFNiNqGhnOSMla5cpDwcAJjWrQggwpc9ccJvwJQZM9vp5ndw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901;; cv=none; b=DbyNtXZv0iY5ql1t3Z86M3wLRBhnOMHcTNx7YySShzlWJ3qaDt9P+yHvCdK3rvvwpgWL+Fx6GIB69m5zyx/KwpC00oyBxAp2pwxDgA9mvyIosrQCCde6FcucrpwouRKQchH8qkOPGMqtEwfl4I/vqFXff+RmdyREEKgiJxh6VpB++FvmH3J/YKPYVfuFaMCyA5muUq4hqV8ZlGaEjc9GWG+dPnmQSQUvr3HIoWlvUZ6xqlSqGuh8CnSbKk5ENfOGpdXFItsQWEd0BjUST4MrqD0NbSSc9eNUuQMLYGwr4Ydw0Uz5Wg4oNmgBoK+Y4cxrqZ63yaWMehD5ufMIToeG9A==
  • Delivered-to: cbi-dev@xxxxxxxxxxx
  • List-archive: <>
  • List-help: <>
  • List-subscribe: <>, <>
  • List-unsubscribe: <>, <>
  • Thread-index: AQHWzXQJ7wCwbNb400edpNHie3ldcKntVfIM
  • Thread-topic: Jenkins and GitLab

Hi all,

However, I do have some questions, as I've not been able to figure this out: [...]

One addition. At the end of the builds, I see:

[GitLab Pipeline Status] Notifying merge request build status: SUCCESS ESCET build/MR-5: This commit looks good

However, it seems to have no effect?


Van: Dennis Hendriks <dh_tue@xxxxxxxxxxx>
Verzonden: dinsdag 8 december 2020 16:28
Aan: cbi-dev@xxxxxxxxxxx <cbi-dev@xxxxxxxxxxx>
Onderwerp: Jenkins and GitLab
Hi all,

First of all, it is unfortunate that there is no GitLab-specific information at

I did manage to create a working Jenkins build, based on a Jenkinsfile in a GitLab repository, for the Eclipse ESCET project.

However, I do have some questions, as I've not been able to figure this out:

1) I can click on 'Scan GitLab Project Now' to find new commits and merge requests. I can also configure to do this periodically. I'm wondering if there is not a better way to do this? E.g. to trigger the scan when a new commit is pushed or a merge request is created, instead of a time-based polling or manual scan?

2) Is there a way to get the build status/result back to GitLab?

I configured 'Log build status as comment on GitLab' option for the 'Multibranch Pipeline'. I did not configure a 'sudo username' (no idea what to fill in). It seems to have no effect. Also, enabling the 'enable logging successful build' setting won't stick after saving the configuration. How do I make this work?

I'm also wondering if there are alternatives. Can it be done from a Jenkinsfile? Is there no better integration than posting comments to merge requests?


Back to the top