Stages & Lifecycle

Stages are logical entities used in JFrog AppTrust to represent the steps in your organization's Software Development Lifecycle (SDLC) through which a release candidate must pass (such as DEV, QA, and STAGING) before it is released. Each stage can be configured with its own set of associated repositories and permissions.

After defining global and project stages, administrators choose the stages to include in the lifecycle used for promoting application versions in AppTrust until the version is ready for release.

Artifactory includes a default stage for releases called PROD (Production). You can create additional stages for specific projects and global stages that can be used by all projects.

Stages and Lifecycle Workflow

The following workflow describes how to create stages and define your lifecycle.

ProcedureUsing the Platform UIUsing REST API
1Create global and project stagesCreate Stages in the Platform UICreate Lifecycle Stage
POST https://{{artifactory-host}}/access/api/v2/stages/
2Assign repositories to stagesAssign Repositories to Stages in the Platform UI

Create Repository

PUT /artifactory/api/repositories/{repoKey}

Update Repository Configuration

POST /artifactory/api/repositories/{repoKey} -H "Content-Type: application/json"

Update Multiple Repositories

POST /artifactory/api/v2/repositories/batch
3Define the project lifecycleEdit the Lifecycle in the Platform UIUpdate Lifecycle
PATCH https://{{artifactory-host}}/access/api/v2/lifecycle/


Did this page help you?