X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-macros.yaml;h=b01887c7ab9e8e5de37118c6a291c791d17899ab;hb=84da49578cee70148509f484272870ac4de7f5d5;hp=ca7d478d80eec6ae15e76290b1756799c4fb20ea;hpb=ebf363ee455e93e1998ba1e5fa73d515213a06d3;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-macros.yaml b/jjb/lf-macros.yaml index ca7d478d..b01887c7 100644 --- a/jjb/lf-macros.yaml +++ b/jjb/lf-macros.yaml @@ -316,6 +316,19 @@ 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 # ############## @@ -475,6 +488,26 @@ 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: RELEASE_FILE + default: "{use-release-file}" + description: "Set to False for job built with parameters" + ############## # PROPERTIES # ##############