: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: mvn35)
+ :nexus-iq-namespace: Insert a namespace to project AppID for projects that
+ share a Nexus IQ system to avoid project name collision. We recommend
+ inserting a trailing - dash if using this parameter.
+ For example 'odl-'. (default: '')
:nexus-iq-stage: Stage the policy evaluation will be run against on
the Nexus IQ Server. (default: 'build')
:stream: Keyword that can be used to represent a release code-name.
:Optional parameters:
:build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
- :nexus-iq-cli-version: Nexus IQ CLI package version to download and use. (default: 1.44.0-01)
+ :nexus-iq-cli-version: Nexus IQ CLI package version to download and use.
+ (default: 1.44.0-01)
+ :nexus-iq-namespace: Insert a namespace to project AppID for projects that
+ share a Nexus IQ system to avoid project name collision. We recommend
+ inserting a trailing - dash if using this parameter.
+ For example 'odl-'. (default: '')
:build-timeout: Timeout in minutes before aborting build. (default: 60)
:git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
:java-version: Version of Java to use for the build. (default: openjdk8)
mvn-opts: ''
mvn-params: ''
mvn-version: mvn35
+ nexus-iq-namespace: '' # Recommend a trailing dash when set. Example: odl-
nexus-iq-stage: 'build'
stream: master
submodule-recursive: true
- nexus-iq-policy-evaluator:
stage: '{nexus-iq-stage}'
application-type: 'manual'
- application-id: '{project-name}'
+ application-id: '{nexus-iq-namespace}{project-name}'
scan-patterns: '{obj:nexus_iq_scan_patterns}'
fail-build-network-error: true
github-url: 'https://github.com'
java-version: openjdk8
nexus-iq-cli-version: 1.44.0-01
+ nexus-iq-namespace: '' # Recommend a trailing dash when set. Example: odl-
stream: master
submodule-recursive: true
- lf-update-java-alternatives:
java-version: '{java-version}'
- lf-infra-clm-python:
- clm-project-name: '{project-name}'
+ clm-project-name: '{nexus-iq-namespace}{project-name}'
- job-template:
name: '{project-name}-python-clm-{stream}'
--- /dev/null
+---
+features:
+ - |
+ Add a new ``nexus-iq-namespace`` optional parameter to insert a namespace
+ into Nexus IQ AppID. This is useful for shared Nexus IQ systems where
+ projects might have concern about namespace collision.
+
+ .. note::
+
+ We recommend when using the namespace to add a trailing - to the value.
+ Eg. 'odl-', this is to make the namespace look nice for example
+ "odl-aaa" is the result of namespace odl-, and project name aaa.