gitlab-plugin icon indicating copy to clipboard operation
gitlab-plugin copied to clipboard

Feature: GitLab Release

Open Alien2150 opened this issue 9 years ago • 5 comments

Hey guys,

what do you think about bringing the gitlab-plugin a step further and adding a new feature to enable releases via Gitlab.Something like:

"gitlabRelease tagSchema: '1.0.%', files: 'my-fancy.jar', changelogPath: 'my-change-list.txt' . The API for this is basically there and it can be added. I volunteer for making a PR and some testing on my end.

Alien2150 avatar Jul 06 '17 06:07 Alien2150

I guess this would be a hook into a feature of GitLab which I'm not familiar with. Is it this? https://docs.gitlab.com/ce/workflow/releases.html

If that's what you're referring to, I agree that it would be a nice feature to add to the plugin. If you want to submit a PR, we will consider it.

omehegan avatar Jul 10 '17 21:07 omehegan

Thanks omehegan for adding a comment. I was looking for a way to automate this process (via step) as I have a use-case for that at my working place (Where we do want to create those releases automatically). Think the API is basicaly there and I also have begun adding some code. Will report back as soon as I have something to show.

Alien2150 avatar Jul 11 '17 05:07 Alien2150

As of the current version of Gitlab's release feature, it's curently not possible to attach artifacts unless adding a link to our artifact in the release's description.

But, I'm agree, it would be a nice feature.

sbrassely avatar Jul 11 '17 07:07 sbrassely

Noticed that already @sbrassely 👍 Also had to rework getting the "projectId" a bit (Could be specified via argument (Alternatively to getting it from the webhook))

Alien2150 avatar Jul 11 '17 08:07 Alien2150

Maybe a "linkTo" param @sbrassely ?

Alien2150 avatar Jul 11 '17 12:07 Alien2150