Skip to content
Save my spot

A CI step with a verifiable result

Deliver a folder from a pipeline and let the exit code decide whether the next step may run.

You need

The pipeit CLI (Linux, macOS, Windows), signed in, and the rights each command needs. A one-time device sign-in and receive setup already done.

A job can use the normal CLI. Example of a plain folder delivery:

pipeit send ./dist --contents --profile v2 --mode inbox \
  --target TARGET-DEVICE --destination project --timeout 20m --json

The job must adopt the exit code. JSON output can contain IDs and private names; keep only the cleaned diagnostic data you need in the build system. Do not store the login URL, tokens or keys as build artifacts. CI needs a protected state of its own and must find the prepared job again when resuming.

ResultMeaning for the job
Exit 0 on sendVerified receipt; no automatic application start
Exit 1Error or interruption; check the code and the retry hint
Exit 2Wrong call or prerequisites
Exit 3Signed receiver block, for example a storage problem; the target side may have to act
Exit 4Time limit; keep the existing transfer ID and resume deliberately
Exit 5 on a matching actionActivation or management action still pending, no completion receipt yet
Exit 6 on maintenanceCleanup pending; a delivery that was already confirmed has not failed retroactively

Scroll sideways to see the whole table.

To resume, use transfer resume TRANSFER-ID, or group stream resume REQUEST-ID for groups. A new send is a new job. For folders, build artifacts must not be changed or cleaned up in the meantime.

Still stuck?

Check the troubleshooting guide first. If that does not help, tell us what happened.