Re: GitLab CI/CD / GitLabRunner Pipelines: Stages versus Maven Lifecycle (GitLab issue #243078)

Timothy Stone <[email protected]>
Newsgroups gmane.comp.jakarta.turbine.maven.user
Message-ID <[email protected]>
On 6/26/25 09:01, Andreas A Loew -Extern wrote:
> Hello Maven experts,
> 
> having started to make a big legacy enterprise Java project (which 
> previously used Jenkins) ready to build through GitLab CI/CD, I ran into 
> the exact same problems as described here with regards to an obvious 
> misfit between the concepts of GitLab Runner CI/CD and Maven:
> 
> https://gitlab.com/gitlab-org/gitlab/-/issues/234078 <https:// 
> gitlab.com/gitlab-org/gitlab/-/issues/234078>

Well, I can't address the core issue with GitLab (yet, it is an open 
source project and I might take a look to see if there is something to 
contribute to address the issue).

...snip...

> Is there any established strategy in the Maven community on how to set 
> up continuous builds/deployments using GitLab CI/CD? Or are we still – 5 
> years after the above issue has been opened with GitLab – lacking a 
> “standard” solution here?

Take a look at the To Be Continuous Maven Pipeline templates.

https://gitlab.com/to-be-continuous/maven

As a contributor to the templates I can speak to their success in our 
enterprise. There are a number of strategies that the templates employ 
to reduce builds and more via the jobs in a set of unified stages that 
align to GitLab practices and dynamic pipelines.

See the contribution guide for hints "to borrow"

https://to-be-continuous.gitlab.io/doc/dev/workflow/

And the Understanding and Usage guides may also be of help in your work

https://to-be-continuous.gitlab.io/doc/understand/

https://to-be-continuous.gitlab.io/doc/usage/

> 
> Many thanks in advance for your kind help & best regards
> Andreas

HTH. Tim

-- 
Timothy Stone
=============
Some call me ... Tim.
Husband, Father, Blogger, OSS, Architect, Wargamer, Home Brewer, and 🤓
Find me on GitLab | GitHub | Linked In | MeWe | GnuPG
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEuXDeIkB+8NutWXTqBHiyrlrRxqYFAmhezAIFAwAAAAAACgkQBHiyrlrRxqYp
+BAAi2DNwtJ/nsLYy6UY88xw/UyednrsRyfDszGw74KVGP5mquPyqyl60l0RPKHcPeDeIPeMhfs4
KOVIlI7CwC0GnnKSUw+HB4r5JeJTzzpx9gFF29eeEnPMNIMFHxMyEsLiPY1fxe99f52fpa7QGd9F
GTRDD3CmFzx08V2is3NIUU3ahuvjG+GLAMQqlfOWokTlJQvPQ3BpP+OUMdr7hq86Nh31/oLWqvTH
ycQsLvdNaJcT59aGfFn4uc2iEh62YX6JquhHqfkCQuQ/dmQmu6mAdfjsnyhsuZPH33aScSz29rIw
SUtdXZXebqOipPyYHr07vGc1EylTB8eCcdjEp8pDNTWZlPjHgg2Rqvnz44tJBDhOB7lZZHppVZ+8
Vb/kk/7ZHPt0C0658W2DHuL47YZKVKJKQw+X8/WAJ/Q2spWp5ACGw1iA/79nnpHTqW7gR2wxElwZ
56rpsS3Z94Shd20To0oDu/GGKfZvLIQZO7Ow6tBmJbTqaQvUF2LYhdfsREgFUzLIIbCUPUDln328
Lw6PY+4JYZGWm7qTPP4N1jBuq56nEHg26B1X2WPlZhdYzKUjHKA2VRfJkxccCk/jwMf+PYZxWsFw
qjCNdpVlQnZ4Cwy1x9/FVyJluqatXDT+8F3vEOrviWRrgDAn6qpiGp2o2+cxvZbM0JYwXKDwYO/+
YbQ=
=aPcX
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.