Quickbuild

Build artifact(s) of your packages in the current project without dependency validation for unlocked packages

sfp quickbuild

Build artifact(s) of your packages in the current project without dependency validation for unlocked packages

USAGE
  $ sfp quickbuild -v <value> --branch <value> [--json] [--loglevel
    trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL] [--repository <value>] [-e <value>] [-t
    <value>] [--sfp-server-url <value>] [--apiversion <value>] [--diffcheck] [-p <value>...] [-r <value>] [-c <value>]
    [-f <value>] [--artifactdir <value>] [--waittime <value>] [--buildnumber <value>] [--executorcount <value>] [--tag
    <value>] [--releaseconfig <value>...]

FLAGS
  -c, --commit=<value>
  -e, --email=<value>              Email address for authenticated user. Ignored if --application-token is provided. Can
                                   be set via SFP_SERVER_USER env var.
  -f, --configfilepath=<value>     [default: config/project-scratch-def.json] Path in the current project directory
                                   containing  config file for the packaging org
  -p, --buildOnly=<value>...       Only build artifacts for the provided package names,use comma separated list of
                                   package names if there are multiple packages
  -r, --repourl=<value>            Custom source repository URL to use in artifact metadata, overrides origin URL
                                   defined in git config
  -t, --application-token=<value>  Application token for CI/CD authentication. Can be set via SFP_SERVER_TOKEN env var
                                   (CLI flags take precedence over env vars).
  -v, --devhubalias=<value>        (required) Username or alias of the Dev Hub org.
      --apiversion=<value>         Override the api version used for api requests made by this command
      --artifactdir=<value>        [default: artifacts] The directory where the generated artifact is to be written
      --branch=<value>             (required) [default: main] The git branch that this build is triggered on, Useful for
                                   metrics and general identification purposes
      --buildnumber=<value>        [default: 1] The build number to be used for source packages, Unlocked Packages will
                                   be assigned the buildnumber from Salesforce directly if using .NEXT
      --diffcheck                  Only build the packages which have changed by analyzing previous tags
      --executorcount=<value>      [default: 5] Number of parallel package task schedulors
      --loglevel=<option>          [default: info] logging level for this command invocation
                                   <options: trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL>
      --releaseconfig=<value>...   Path to the release config file(s) to limit packages built by domains
      --repository=<value>         The repository identifier. E.g `owner/repo` for GitHub/GitLab or `org/project/repo`
                                   for Azure DevOps
      --sfp-server-url=<value>     URL of the SFP server. Can be set via SFP_SERVER_URL env var or config: sfp
                                   config:set server-url
      --tag=<value>                Tag the build with a label, useful to identify in metrics
      --waittime=<value>           [default: 120] Wait time for command to finish in minutes

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Build artifact(s) of your packages in the current project without dependency validation for unlocked packages

ALIASES
  $ sfp orchestrator quickbuild

See code: src/commands/quickbuild.tsarrow-up-right

Last updated

Was this helpful?