Pipeline |
A Pipeline record can be deleted only if no other pipeline executions from
other pipelines are dependent on the artifact versions generated by the pipeline
executions of this pipeline. |
Pipeline Execution |
A Pipeline Execution record can be deleted only if no other pipeline
executions are dependent on the artifact versions generated by this pipeline
execution. |
Task Execution |
A Task Execution record can be deleted if ALL of these conditions are met.
- There are no step executions referencing it.
- There are no downstream task executions referencing it.
- There are no pipeline executions dependent on the artifact versions built
by this task execution.
|
Step |
A Step record can be deleted only if there are no orchestration tasks or step
executions referencing this step. |
Orchestration Task |
If the orchestration task has a step associated, it can be deleted only if
there are no task executions referencing this orchestration task.
If the orchestration task does not have a step associated (example Jenkins
freestyle job), it can be deleted only if no other pipeline executions are
dependent on the artifact versions generated by the task executions of this
orchestration task.
|
Repository |
A Repository record can be deleted only if none of the commits of this
repository are associated to the artifact versions (Artifact Version to Commit
table) or task executions (Run Commit table).
Therefore, before cleaning up the repository, delete the dependent pipeline
entities.
|
Branch |
A Branch record can be deleted only if there are no commits associated to it
in the Branch To Commit table. |
Tag |
A Tag record cannot be deleted by a sn_devops.admin. |
Commit |
A Commit record can be deleted if ALL of these conditions are met.
- The commit is not associated to the artifact version (Artifact Version to
Commit table).
- The commit is not associated to task executions (Run Commit table).
- The commit is not being referenced by other commits as a revert
commit.
|
Plan |
A Plan record can be deleted only if none of the work items of this plan are
associated or referenced by any commits. |
Work Item |
A Work Item record can be deleted if ALL of these conditions are met.
- The work item is not being referenced by another work item as parent.
- There are no commits referencing or associated to this work item.
|
Plan Version |
A Plan Version record can be deleted only if there are no work items
associated to it in the Work Item To Plan Version table. |
Test Summary / Performance Test Summary |
A Test Summary record can be deleted only if it doesn’t have an associated
related record (Artifact version/Package/Task Execution) in the Test Summary
Relations table. |
Artifact |
An Artifact Record can be deleted only if all the artifact versions belonging
to it are deletable. |
Artifact Repository |
An Artifact Repository record can be deleted only if all the artifacts
belonging to it are deletable. |
Artifact Version |
An Artifact Version record can be deleted only if it's built by task
execution field is empty. |
Artifact Staged Request |
An Artifact Staged Request record can be deleted when it is either an
orphaned record, or the state is Processed / Error. |
Package |
A Package record can be deleted if ALL of these conditions are met.
- There are no pipeline executions referenced to it.
- The built by task execution value on the Package record is null.
|
DevOps Tool |
A DevOps Tool record cannot be deleted by a
sn_devops.admin. |
Build Test Summary
Build Test Result
Commit Details
Event
Inbound Event
|
These entities cannot be deleted by a sn_devops.admin. |