Hi,
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.
Regards,
Fred
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?
>
> Regards,
> Dennis
>
> _______________________________________________
> cbi-dev mailing list
> cbi-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cbi-dev
>
--
Frederic Gurr
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
cbi-dev@xxxxxxxxxxx
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cbi-dev