Merge "Update release docs."
[releng/global-jjb.git] / jjb / lf-macros.yaml
index ca7d478..91fd16b 100644 (file)
     name: lf-rtd-verify
     builders:
       - inject:
-          properties-content: DOC_DIR={doc-dir}
+          properties-content: |
+            DOC_DIR={doc-dir}
+            PYTHON={python-version}
       - shell: !include-raw-escape: ../shell/tox-install.sh
       - shell: !include-raw-escape: ../shell/rtd-verify.sh
 
           docker rmi -f $(docker images -a -q)
           exit 0
 
+- builder:
+    name: lf-infra-sonar
+    # Run a Sonar Jenkins Plugin
+    builders:
+      - sonar:
+          sonar-name: Sonar
+          scanner-name: SonarQubeScanner
+          task: "{sonar-task}"
+          project: "sonar-project.properties"
+          properties: "{sonar-properties}"
+          java-opts: "{sonar-java-opts}"
+          additional-arguments: "{sonar-additional-args}"
+
 ##############
 # PARAMETERS #
 ##############
             Tox environments to run build against.
             Example: docs,py2,py3
 
+- parameter:
+    name: lf-build-with-parameters-maven-release
+    parameters:
+      - string:
+          name: VERSION
+          default: ""
+          description: "This is the tag, Example: 1.0.0"
+      - string:
+          name: LOG_DIR
+          default: ""
+          description: "Log dir, example: project-maven-stage-master/17/"
+      - string:
+          name: DISTRIBUTION_TYPE
+          default: ""
+          description: "Set to maven for build with parametes"
+      - bool:
+          name: USE_RELEASE_FILE
+          default: "{use-release-file}"
+          description: "Set to False for job built with parameters"
+
 ##############
 # PROPERTIES #
 ##############