Giter VIP home page Giter VIP logo

Comments (4)

fcamblor avatar fcamblor commented on August 16, 2024

Don't think it would be difficult to implement this.

Currently, you already have an endpoint allowing to say "hey, this path has been changed, register it in future commit" : look at there (FYI, doXXX methods are HTTP endpoints as well, so you might call this with an HTTP request)

I'm not completely sure about this, but I think by calling the API to create/update/delete job, you're already calling a Saveable.change() which should trigger the registerPath() call I exposed before.

As soon as you will have registered paths, all you will have to do is to commit the transaction, maybe by providing some comment to your commit before.

Hope this helps.

from scm-sync-configuration-plugin.

lloydoliver avatar lloydoliver commented on August 16, 2024

I too have run into this exact issue. Creating/updating a job via the API does not trigger an SCM save, we have to manually go to the Jenkins job page, click the 'save' button which then triggers the scm-sync-configuration plugin.

from scm-sync-configuration-plugin.

starwarsfan avatar starwarsfan commented on August 16, 2024

Any news on this? We use Jenkins-CLI and Jenkins REST-API for a complete automated job setup in case a new package was added to the VCS in the background. But all these auto-generated-jobs where missed on the configuration repo until someone "touches" them in some other way. Would be great if this could be fixed!

from scm-sync-configuration-plugin.

phl0 avatar phl0 commented on August 16, 2024

Would like to see this solved :)

from scm-sync-configuration-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.