mulugruntz / jam Goto Github PK
View Code? Open in Web Editor NEWJenkins Agent Manager
License: MIT License
Jenkins Agent Manager
License: MIT License
This issue will track migration from Python 2 to Python 3.
Change the README.md
to reflect an example that works.
Currently, Jam manages the VMs under its control depending on jobs in the queue.
Some jobs can run on some machines or labels. We need to take that into account in order to be able to select the right machines that will process these jobs.
There are some stuff missing in Jenkins' json API (I believe) and this detection cannot become reliable nor clean.
I've sent a message on #jenkins (on Freenode) to kohsuke (Jenkins' creator) to see if I'm actually correct about this or that maybe there's another way to solve this issue.
The message is:
kohsuke: Hi, I have a quick question. It seems that it is not currently possible in the API (json) to have the CauseOfBlockage. There's the "why" string value that I can parse, but it language dependant and BECAUSE_LABEL_IS_BUSY and BECAUSE_NODE_IS_BUSY result in the same string. It would be good (I think) to have a list of labels and a list of nodes where the job can be run. It would make it easier (or just reliable) to provision resource for jenkins.
kohsuke: What's your opinion on that?
As I had no reply for several weeks, I've open a ticket on Jenkins' side:
https://issues.jenkins-ci.org/browse/JENKINS-51198
This is a feature to temporarily work around #10 .
The idea is to have an extra parameter to include or exclude jobs (regex would be nice).
This would mean that Jenkins would have several Jam instances (and this is why this is not a permanent fix but a temporary work-around).
Nota bene: Things could go haywire if two Jam instances manage the same job!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.