Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

GIT Workflows

The workflow example has showed you how you can included sub-workflows into your build and by this form a bigger job graph. But this was limited to files in the same repository/project. With the git job type you can included a sub-workflow from a remote git repository. This can be very useful if your project consists of several repositories or if you want to include an external workflow like shown in the slack integraion example.

To make use of it define a job like this:

    "version": 1,
    "jobs": [{
        "type": "git",
        "name": "external",
        "clone_url": "",
        "commit": "master"

This example would now clone the infraboxcli repo and include it as workflow. For this to work the included repo must have an infrabox.json file in its root directory.

See the Docker Job Documentation for a detailed explanation about the options of a git job.

You can’t perform that action at this time.