Using Global Templates to Create a Pipeline Source (1.31 and higher)

JFrog Pipelines Documentation

JFrog Pipelines
Content Type
User Guide

To use a global template as a pipeline source:

  1. In your SCM repository, create a new directory named .jfrog-pipelines.

  2. In the directory, create two new files:

    • pipelines.yml

    • values.yml

  3. pipelines.yml: Add the following in the pipelines.yml file:

    valuesFilePath: ./values.yml
      template: jfrog/<global_template_name>/<template_version>


    valuesFilePath: ./values.yml
      template: jfrog/HelloWorld/1.0.0


    • jfrog is the predefined namespace to be used for global templates. This is mandatory and cannot be changed.

    • global_template_name is the name of the global template you want to use. Go to Pipelines | Reusablesand click theTemplatestab to find all the available preloaded templates.

    • template_version is the version of the template you want to use. Go to Pipelines | Reusables and click theTemplatestab to find the versions available for each template.

    • valuesFilePathis the path where the values.yml file is stored.

  4. values.yml: Update the values.yml file to include the values required for the global template you are using. For more information, see the example values.yml file.

  5. In the JFrog Platform, go to Administration → Pipelines → Pipeline Sources and add the pipeline as a pipeline source. For more information, see Adding a Pipeline Source.

    After your Pipeline Source syncs successfully, you can view the newly added pipeline by navigating to My Pipelines on the left navbar and clicking PipelinesMy Pipelines.

  6. Go to Application → Pipelines → My Pipelines → All Pipelines and run the pipeline.