Skip to content

Update maven.gitlab-ci.yml for GitLab Package

Tim Rizzi requested to merge trizzi-master-patch-86505 into master

What does this MR do?

This merge requests updates the Maven template to allow for building and deploying packages to the GitLab Maven repository.

Changes

  • I left the original variables and their settings in the template to allow for future iteration and expansion.
  • I removed jdk7 tests and left jdk8 tests
  • I expanded the deploy section to pull settings from ci_settings.xml. I also added an error message in case the file does not exist.
  • I removed the portions of the template that build documentation as there was an error with an outdated version of the plug-in which would have required changing all of our documentation for the Maven repository.
  • I simplified the text and commented out copy

Why

The purpose of this template will be to make it easier for people to get up to speed with using Maven and GitLab. The update will allow for the deploying of packages to GitLab and for future iteration.

Risks

The risks are if someone was using the Maven template for jdk7 testing, that has been removed.

Does this MR meet the acceptance criteria?

Acceptance criteria

  • The Maven .gitlab-ci.yml template allows users to deploy Maven packages to their GitLab project.
  • The template alerts the user and points them to documentation if ci_settings.xml does not exist.

Closes #10051

Edited by Jason Yavorska

Merge request reports