Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hello all, we are migrating from TFS to GITLAB and im trying to configure our release management.
- Our CI is Jenkins ( because of windows SDK's from external partys ). When a jenkins release is build successfully a .zip is created.
- Then im using the API to upload the zip using : /api/v4/projects/'+projectid+'/uploads', headers=headers, files=files)
- After that im creating a release using : api/v4/projects/'+projectid+'/repository/tags/'+tagid+'/release', headers=headers, data=jsondata)
- Because of a large number of experiments, like styling the description, adding JUnit results in the description etc. And creating a lot of TAGS,
- I can now share the *.zip with our Test team. ( GITLAB users )
- I still have a problem, I want to remove releases with the "curl --request DELETE --header "PRIVATE-TOKEN: " ....
- This works fine for existing TAGS. But the problem... i created more then 20 TAGS to make our chain work. So i deleted them from GIT.
- I see a TAG as a shortcut to a hash in GIT.
- How can i remove releases when a TAG doesnt exist ?
- Thank you in advance.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement