ToolsCommandsBuilding, running and CI
jadpo ci
On this page
Run what a change must pass.
Run, in order and each with CI set, jadpo check, jadpo fmt --check, every test, every deployable's build and, when the app has a package from the registry, jadpo package audit, stopping at the first that fails. The screen is the failing step's findings, as that command shows them, then each step and its state; --json holds each step's result. init github writes .github/workflows/jadpo.yml and init gitlab .gitlab-ci.yml, which install jadpo, keep its cache, check out the whole history and run jadpo ci on every push and pull or merge request, with read access to the repository and no secrets. The file is the project's once written: one already there is left as it is.
jadpo ci [action] [host]Arguments
action(optional): init, to write a CI service's file; every step when left outhost(optional): The CI service whose file init writes
On every command
--json: Print data for tools instead of text--full: Show everything a report shortens--help: Show every flag, with examples--color <when>: Choose when to use colour
jadpo ci --json writes one JSON document to standard output instead of text, with the same exit code. The document has schemaVersion, command ("ci"), ok, data (what the command produced, null when it failed) and diagnostics (each error with its rule, reason, next and help). A command that needs a terminal refuses --json and names the flags that do the same job.
Examples
# Run everything CI runs, herejadpo ci# Write the workflow GitHub runs it fromjadpo ci init github# Write the file GitLab runs it fromjadpo ci init gitlab
Errors
cli.ci_arguments: Ajadpo cicommand names an action other thaninit, orinitnames no host or one it doesn't write fortoolchain.ci_file_exists: You ranjadpo ci initin a project that already has the CI file it writestoolchain.artifact_write_failed: A file Jadpo writes for you, such as a record, couldn't be written, usually because it or its folder is read-onlytoolchain.project_not_found: You ran a command that works on a project in a folder with noapp.jadpo, in it or in any folder above it
Markdown for agents: /docs/jadpo-ci.md.Built from Jadpo's main branch at commit ee389ee.