Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cbi-dev] Jenkins and GitLab
  • From: Dennis Hendriks <dh_tue@xxxxxxxxxxx>
  • Date: Tue, 8 Dec 2020 15:28:54 +0000
  • Accept-language: nl-NL, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AjYvWZYTvX9j8Iah3tuqTa7L+4yDUK+LBx5vYD3FYEs=; b=mV3yylH3TsRC+0fWYgftm1mNSJxmBVGyKRTU0w41OiHujpjPGQazC3u/9UOOaz2Zrk+7WLuWkrzw/7zSwjsW+L8gUIBuVNSJd0LYKA03IEX5pSfItHIk0qdQmzjwYecJKXEWV+fND53lEQQLfZoV2e7K/Ycl4huKjafJ4LaAQ1Arriscqk5/TpBkb9ioPYhLAC4hPO3ODShbLP3rymOmxFd8u1q2jteeUsJU1gz4fdY/jPBgHYLwG3xohUzKNaiBC39ve/3Rphp4Uz5aviafmFZ6DOSpwu2Nc8aBE1DVAJFppz1iTtl2l/90oykexfnkD+ITjTJ8YQM9XCvfSCII0g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YgzBcmMsJLtdy8yR0fTrQ1I3Z9zaZRqHwQpUI2W195aTaGleHewx/qwWV7k7VmCMCTXw6KKdc6YS4xLWDW8nLDeWTg+idnjlI/GDKmcrJTbQIJpJKSn5vM8LjBYDbd+q5sCNlZD1IyOT19moZ5vUMquuBqfvxt6/8153NVcS4GVP8kbwfRWTNkFxrGL/g4j4rodWUck7RI/UcdBIaPvSQ34JmSuBpP+ikbzQmxJfQWeX77l5yyR7LaPSR59LRkLoZscnvA8qA2Pz+rdWrlNDpQTbENZrsNQ5QWggL9A8sHkBzAn84ZakXoQ2/13zfDp8+jjw491Z0MjVsWM6ee+qSg==
  • Delivered-to: cbi-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/cbi-dev>
  • List-help: <mailto:cbi-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/cbi-dev>, <mailto:cbi-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/cbi-dev>, <mailto:cbi-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWzXQJ7wCwbNb400edpNHie3ldcA==
  • Thread-topic: Jenkins and GitLab

Hi all,

First of all, it is unfortunate that there is no GitLab-specific information at https://wiki.eclipse.org/Jenkins.

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?

Regards,
Dennis

Back to the top