Comments (4)
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.
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.
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.
Would like to see this solved :)
from scm-sync-configuration-plugin.
Related Issues (20)
- Support for Perforce
- Configure Git SCM with credentials HOT 13
- Access to GIT Repository broken with Jenkins 2.30 HOT 2
- URL wrongly manipulated
- Active Maintainer HOT 9
- Renaming or Deleting a job doesn't work with SVN HOT 3
- SCM not working HOT 2
- Overwrite main config file while reload from scm HOT 3
- promotion configurations from the Promoted Builds Plugin are not synced
- Questions regarding checkout directory
- Cut a new release HOT 6
- not-a-git-repo
- Manual Synchronization includes dont show up
- One Question Regarding the Plugin HOT 1
- Issue tracking should be in one place only HOT 1
- Strange output in footer HOT 7
- github branch option main
- Hi! Is there anybody?
- SCM sync configuration plugin stopped working for new version of Jenkins 2.332.1 HOT 16
- For anyone still want to use this plugin with Jenkins 2.277 and above HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scm-sync-configuration-plugin.