From: Anil Belur Date: Wed, 13 Mar 2019 22:32:38 +0000 (+1000) Subject: Update lf-maven-central macro docs and templates X-Git-Tag: v0.34.0~9 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F81%2F14881%2F2;p=releng%2Fglobal-jjb.git Update lf-maven-central macro docs and templates Update lf-maven-central macro docs and templates with the missing required params. The change 6a3a8fd3c9430a90f3b8c0c85e7e20b8a318eb8f missed updating the docs and sample code. Change-Id: I09b55bbf51cc3ef7c29d50b42e52982dc40e8f72 Signed-off-by: Anil Belur --- diff --git a/.jjb-test/lf-macros/lf-maven-central-minimal.yaml b/.jjb-test/lf-macros/lf-maven-central-minimal.yaml index 5fb58b0e..2a2f6917 100644 --- a/.jjb-test/lf-macros/lf-maven-central-minimal.yaml +++ b/.jjb-test/lf-macros/lf-maven-central-minimal.yaml @@ -7,6 +7,8 @@ ##################### mvn-central: true + mvn-global-settings: '' + mvn-settings: '' ossrh-profile-id: '' ##################### @@ -16,4 +18,6 @@ builders: - lf-maven-central: mvn-central: '{mvn-central}' + mvn-global-settings: '{mvn-global-settings}' + mvn-settings: '{mvn-settings}' ossrh-profile-id: '{ossrh-profile-id}' diff --git a/docs/jjb/lf-macros.rst b/docs/jjb/lf-macros.rst index 1d7a97b9..94fcb1c5 100644 --- a/docs/jjb/lf-macros.rst +++ b/docs/jjb/lf-macros.rst @@ -180,6 +180,10 @@ repository which is to upload to OSSRH. :Required parameters: :mvn-central: Whether or not to upload to mvn-central. (true|false) + :mvn-global-settings: The name of the Maven global settings to use for + Maven configuration. (default: global-settings) + :mvn-settings: The name of settings file containing credentials for the + project. :ossrh-profile-id: Nexus staging profile ID as provided by OSSRH. .. literalinclude:: ../../.jjb-test/lf-macros/lf-maven-central-minimal.yaml diff --git a/releasenotes/notes/fix-lf-maven-central-macro-docs-ad43756dcd551c30.yaml b/releasenotes/notes/fix-lf-maven-central-macro-docs-ad43756dcd551c30.yaml new file mode 100644 index 00000000..5d3794fc --- /dev/null +++ b/releasenotes/notes/fix-lf-maven-central-macro-docs-ad43756dcd551c30.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Update the lf-maven-cental macro documentation and example templates with + the missing requireed params.