Skip to content

The PIPEFORCE Command Line Tool.

Notifications You must be signed in to change notification settings

logabit/pipeforce-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PIPEFORCE CLI

build status

PIPEFORCE CLI is a command line interface which can be used to:

  • Manage the PIPEFORCE Cloud remotely.
  • Automate build processes.
  • Develop integrations, apps, workflows and reports.
  • Run and monitor tests.
  • Automate and execute business workflows.

For more information, visit the CLI reference documentation.

Prerequisites

Install Java 8 or higher.

On Mac using Homebrew:

brew install java

Or download and install Java manually.

Installation

  1. Download latest pipeforce-cli.jar.
  2. Run this command in order to install it:
java -jar pipeforce-cli.jar setup
  1. By default the installation location will be $USER_HOME/pipeforce/pipeforce-cli.
  2. Add the $USER_HOME/pipeforce/pipeforce-cli/bin/pi script to your path variables of your operating system.

Init a folder as app repo

In order to start developing your apps and to create VSCode workbench settings file plus the default structure to an PIPEFORCE app folder, execute this command inside the folder:

> cd /my/app-repo
> pi init

Update

The CLI will automatically detect newer versions and will ask to update itself if exists. But you can also trigger manually such an update:

> pi update

Help

To display all options of the CLI, use this command:

> pi help

In order to get the description of a single pipeline command, use this:

> pi command <name-of-command>

In order to get a list of all available pipeline commands, use this:

> pi command

For more options and documentation about the CLI tool, please visit https://docs.pipeforce.io.

Releasing the pipeforce-cli

A stable version

To automatically build, test and create a stable release, set a tag of format: v<version>-RELEASE whereas <version> must be the release version. Example:

git tag v8.0.0-RELEASE
git push origin --tags

Note: After a stable version was released, it is considered in all client-side installations as the latest version and roll-out will be started automatically! So be careful in setting this tag!

A release candidate (RC)

To automatically build, test and create a release draft which is not considered in auto-rollout, set a tag of format: v<version>-RC<number> whereas <version> must be the designated release version and <number> must be the number of the releae candidate. Example:

git tag v8.0.0-RC1
git push origin --tags