Skip to main content

ci

The moon ci command is a special command that should be ran in a continuous integration (CI) environment, as it does all the heavy lifting necessary for effectively running tasks.

By default this will run all tasks that are affected by touched files and have the runInCI task option enabled.

$ moon ci

However, you can also provide a list of targets to explicitly run, which will still be filtered down by runInCI.

$ moon ci :build :lint

View the official continuous integration guide for a more in-depth example of how to utilize this command.

Arguments

Options

  • --base <rev> - Base branch, commit, or revision to compare against (learn more).
  • --head <rev> - Current branch, commit, or revision to compare with (learn more).
  • --job <index> - Index of the current job.
  • --jobTotal <total> Total amount of jobs to run.

Configuration