X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=docs%2Fjjb%2Flf-macros.rst;h=c4bda39c013f0f0532bb80319acf3ea354e739a9;hb=b2507b915c7a4c93384b5cff2d85acb2958bcd41;hp=3d1b39e836a7c74b4b7c94ba4e00ce4f5b44f765;hpb=00f9bc8735bf890b4b0c0487d647627ac2d50fe0;p=releng%2Fglobal-jjb.git diff --git a/docs/jjb/lf-macros.rst b/docs/jjb/lf-macros.rst index 3d1b39e8..c4bda39c 100644 --- a/docs/jjb/lf-macros.rst +++ b/docs/jjb/lf-macros.rst @@ -12,6 +12,11 @@ This macro will post a comment to the gerrit patchset if the build creates a file named gerrit_comment.txt To use this macro add it to the list of builders. +lf-ansible-config-file-provider +------------------------------- + +Provisions files required by the ansible, namely +"~/.ansible/ansible.cfg" in the Jenkins home directory. lf-fetch-dependent-patches -------------------------- @@ -349,6 +354,7 @@ Requires ``SonarQube Scanner for Jenkins`` :sonar-properties: Sonar configuration properties. (default: "") :sonar-java-opts: JVM options. (default: "") :sonar-additional-args: Additional command line arguments. (default: "") + :sonar-jdk: JDK version to use. (default: openjdk17) lf-infra-sonar-with-prescan --------------------------- @@ -374,6 +380,12 @@ Requires ``SonarQube Scanner for Jenkins`` :sonar-java-opts: JVM options. (default: "") :sonar-additional-args: Additional command line arguments. (default: "") +lf-infra-pipeline-verify +------------------------ + +Verify a Jenkins pipeline by linting it and ensuring that it cannot run on the +Jenkins master. + Parameters ========== @@ -395,6 +407,14 @@ lf-cmake-parameters Provides parameters required by CMake. Use in any jobs that need to call the ``cmake && make && make install`` pattern. +lf-gerrit-event-comment-text-parameter +-------------------------------------- + +Provides the value for GERRIT_EVENT_COMMENT_TEXT, +needed for jobs triggerable via a gerrit comment +when starting them via "Build with parameters" instead. +For example when testing jobs on Sandbox. + lf-infra-maven-parameters ------------------------- @@ -424,6 +444,11 @@ lf-infra-node-parameters Provides parameters needed by NodeJS and NPM. Use in any jobs that need to run NodeJS or NPM. +lf-infra-sonar-cli-parameters +----------------------------- + +Provides parameters needed by Python jobs to run the SonarCloud CLI. + lf-infra-tox-parameters ----------------------- @@ -530,3 +555,10 @@ lf-infra-wrappers-windows Provides lf-infra recommended wrappers for use in every job-template targetting Windows systems. + + +global-jjb-email-notification +----------------------------- + +Provides a publisher macro that ties into the lf-openstack-cron job +to alert admins if this job fails.