- # Produces a release candidate by creating a staging repo in Nexus.
- #
- # Runs a Maven build and deploys to $WORKSPACE/m2repo directory. This
- # directory can then be reused later to deploy to Nexus.
- #
- # Required parameters:
- #
- # :build-node: The node to run build on.
- # :jenkins-ssh-credential: Credential to use for SSH. (Generally should
- # be configured in defaults.yaml)
- # :mvn-settings: The name of settings file containing credentials for
- # the project.
- # :mvn-staging-id: Maven Server ID from settings.xml to pull credentials from.
- # (Note: This setting should be configured in defaults.yaml.)
- # :staging-profile-id: Profile ID of the project's Nexus staging profile.
- #
- # Optional parameters:
- #
- # :branch: The branch to build against. (default: master)
- # :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
- # :build-timeout: Timeout in seconds before aborting build. (default: 60)
- # :cron: Cron schedule when to trigger the job. This parameter also
- # supports multiline input via YAML pipe | character in cases where
- # one may want to provide more than 1 cron timer. (default: '')
- # :deploy-path: The path in Nexus to deploy javadoc to. (default: $PROJECT/$STREAM)
- # :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
- # :java-version: Version of Java to use for the build. (default: openjdk8)
- # :mvn-global-settings: The name of the Maven global settings to use for
- # Maven configuration. (default: global-settings)
- # :mvn-opts: Sets MAVEN_OPTS. (default: '')
- # :mvn-params: Additional mvn parameters to pass to the cli. (default: '')
- # :mvn-version: Version of maven to use. (default: mvn33)
- # :stream: Keyword that can be used to represent a release code-name.
- # Often the same as the branch. (default: master)
- # :submodule-recursive: Whether to checkout submodules recursively.
- # (default: true)
- #
- # :gerrit_release_triggers: Override Gerrit Triggers.
-