Git Product home page Git Product logo

Comments (3)

elvanja avatar elvanja commented on September 23, 2024

Well, currently you can't really do that with this plugin.
https://github.com/swipely/jenkins-git-notes-plugin might be of interest to you, since it adds git notes for builds, which includes the merge commits as well. Would that be OK?

from jenkins-gitlab-hook-plugin.

mjdetullio avatar mjdetullio commented on September 23, 2024

Thanks for the link! It's not quite what I'm looking for since I'm mostly interested in retrieving the data that GitLab sends. GitLab also doesn't have any true support for git notes (yet?), since the only way you can see the note in GitLab is by going to the network graph and clicking on the note, or by using the git command line.

I'll keep looking into it in the future and perhaps do some development of my own, but I have a lot on my plate right now. Thanks again.

from jenkins-gitlab-hook-plugin.

elvanja avatar elvanja commented on September 23, 2024

Cool. As for the building this, I suppose it could be built but not inside the hook loop. This is because the hook is not really related to the build cycle on Jenkins. One the hook does it's job, it pretty much is detached from the rest of the process.

I guess one way could be to build a plugin that adds build steps to the Jenkins job. The build step would get the branch and commit for the build and then call Gitlab API to do what you need it to do. But again, it seems to me it is a different plugin altogether (or maybe a different part inside this one). When you decide you're ready to dive into this issue, let me know, maybe I can give a hand.

from jenkins-gitlab-hook-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.