Author : MD TAREQ HASSAN | Updated : 2021/12/16
One or more builds associated with the requested pipeline(s) are retained by a release. The pipeline(s) and builds will not be deleted
Possible cuase:
When you deleted release pipeline, there was a checkbox “Automatically cancel any in progress release deployment”,
You deleted without checking that checkbox.
Solution:
- GO to your CI pipeleine
- Click on virtical dot of each run
- “View retention leases” > Remove all
- Do it for all runs (one by one)
- When leases are removed for all runs > you would be able to delete your CI pipeleine
ImagePullBackOff
Possible cuase: Image name mitmach in CI and CD variables
Solution: create common variable group in Library for image name and link variable group to both CI and CD
Image pull secret related issues
Check image name is not valid
- All small letters
- Name is valid DNS name
COPY failed - file not found in build context or excluded by .dockerignore
Possible cause
buildContext
in Docker task
Solution
- Try:
buildContext: $(Build.Repository.LocalPath)
- Try:
buildContext: '.'
- Links: