Need help with other JFrog products?
JFrog Platform
JFrog Artifactory
JFrog Xray
JFrog Mission Control
JFrog Distribution
[JFrog Pipelines]
JFrog Access
The following sections describe the commands available in the JFrog CLI for use with JFrog Pipelines.
Check the version of Pipelines installation.
Command name | pl version |
Abbreviation | v |
Command arguments | The command accepts no arguments. |
Command options | |
--server-id | [Optional] Specify Pipelines server for which the version is to be fetched. If not specified, the default configured server is used. |
jf pl version --server-id repo21
Get the status of the run for the specified pipeline.
Command name | pl status |
Abbreviation | s |
Command arguments | The command accepts no arguments. |
Command options | |
--pipeline-name | [Optional] Name of the pipeline. |
--branch | [Optional] Name of the multi branch. |
--monitor | [Optional] Continuous monitoring until pipeline reaches end state. Default time is 1 hour and 30 minutes. |
--server-id | [Optional] Name of the server. |
--single-branch | [Optional] To be used when using a single branch. |
Examples
jf pl status --pipeline-name myPipeline --single-branch --server-id repo21 --monitor --single-branch
jf pl status --pipeline-name myPipeline --branch main/jobs --server-id repo21 --monitor
Trigger a pipeline run.
Command name | pl trigger |
Abbreviation | t |
Command options | |
--server-id | [Optional] Name of the server. |
--single-branch | [Optional] To be used when using a single branch. When used, |
Command arguments | |
pipeline_name | Name of the pipeline to be triggered. |
branch_name | Name of the multi branch. |
Examples
jf pl trigger myPipeline main/jobs --single-branch --server-id repo21
jf pl trigger myPipeline main/jobs --server-id repo21
Perform a sync to load the latest pipeline source.
Command name | pl sync |
Abbreviation | sy |
Command options | |
--server-id | [Optional] Name of the server. |
--repository | [Optional] Full name of the repository where the pipeline source is stored. |
--branch | [Optional] Name of branch that has the pipeline source. |
Example
jf pl sync --repository jfrog/artifactory --branch main/jobs --server-id repo21
Get the current status of the pipeline source sync.
Command name | pl sync-status |
Abbreviation | ss |
Command options | |
--server-id | [Optional] Name of the server. |
Command arguments | |
full_repo_name | Full name of the repository where the pipeline source is stored. |
branch_name | Name of the branch. |
Example
jf pl sync-status jfrog/artifactory main/jobs --server-id repo21