Comments (3)
Thanks for your response.
I found this page: https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/
However this page clearly says that plugins should not be built for versions older than "2.364 for weekly releases, and 2.361.1 for LTS release" at this time.
So I now realize you cannot support my version of Jenkins. Thank you anyway. Maybe in the future I will be able to use this plugin when I am using a newer version of Jenkins.
Please feel free to close this Issue.
from add-changes-to-build-changelog-plugin.
Thanks for finding that article and letting me know the policy that plugins should follow in terms of old releases. Very informative! I'll close the issue like you said. I hope you find a way to accomplish what you want to do. 😄
from add-changes-to-build-changelog-plugin.
Hi, Brucekaskel! Thanks for the ticket! I really appreicate it.
That's a really good suggestion about supporting older versions. I assume there is a way to update the plugin to support really older versions (like 2.303), but I'm not quite for sure how to do it (this is my first plugin 😄). That being said, the plugin itself is really trivial on what it's doing under the hood. You could do something identical with a few lines of code if you had access to the jenkins model/api and the jenkins file system. Are those things something you have access to?
If so, you would just need to update the changelog.xml file (located in the build directory) and then reload the build in question from disk. For example, you could:
- copy and paste the xml contents from an existing changelog and format them to suite your new build's changes..
- call the reload endpoint from the jenkins rest api (e.g. myjenkinsurl.com/job/myjob/build/1234/reload via curl) or if you like to do it via the jenkins model, you can use the reload endpoint after getting the build from something like getBuildByNumber.
This can be done in a build step (if you're using a freestylebuild) or a pipeline.
Would that work for you?
from add-changes-to-build-changelog-plugin.
Related Issues (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 add-changes-to-build-changelog-plugin.