|Re: [cbi-dev] Jenkins and GitLab|
Thanks for adding the webhook to automatically trigger builds on Jenkins. It works.
I look forward to your ideas for reporting back to GitLab.
Van: cbi-dev-bounces@xxxxxxxxxxx <cbi-dev-bounces@xxxxxxxxxxx> namens Frederic Gurr <frederic.gurr@xxxxxxxxxxxxxxxxxxxxxx>
Verzonden: dinsdag 8 december 2020 20:01
Aan: cbi-dev@xxxxxxxxxxx <cbi-dev@xxxxxxxxxxx>
Onderwerp: Re: [cbi-dev] Jenkins and GitLab
We are still in the process of finding out what the best workflows are
and did not have a lot of feedback from the few projects that use GitLab
and Jenkins already. I will try to add a few notes and pointers to the
wiki over the next days.
Thanks for being on the forefront and sharing the knowledge.
1. I will setup a webhook on the GitLab side that triggers on pushes,
merge requests, etc.
2. I will look into it.
On 08.12.20 16:28, Dennis Hendriks wrote:
> 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?
> E.g. maybe something like
> this: https://github.com/jenkinsci/multibranch-scan-webhook-trigger-plugin ?
> Or maybe
> this: https://github.com/jenkinsci/gitlab-plugin#pipeline-multibranch-jobs-1 ?
> 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?
> cbi-dev mailing list
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cbi-dev
Release Engineer | Eclipse Foundation Europe GmbH
Annastr. 46, D-64673 Zwingenberg
Handelsregister: Darmstadt HRB 92821
Managing Directors: Gaël Blondelle, Mike Milinkovich
cbi-dev mailing list
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cbi-dev
Back to the top