Add GitLab component input

MSAL

Add an input to GitLab component includes that do not set it yet.

org.openrewrite.gitlab.AddComponentInput

Required

The path of the component to match, without the version.

The name of the input to add.

The value of the input to add.

Optional

Version of the component to match: an exact version such as 0.10.0, ~latest or main, or a semver pattern such as 1.x or ~1. Matches any version when omitted.

mod run . --recipe=org.openrewrite.gitlab.AddComponentInput \ -P component='$CI_SERVER_FQDN/group/maven-build' \ -P inputName=java_version \ -P value=21

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.