Coder Social home page Coder Social logo

jam's Introduction

Hi there ๐Ÿ‘‹

jam's People

Contributors

mulugruntz avatar pyup-bot avatar

Watchers

 avatar  avatar

jam's Issues

Some job are selective

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

Filtering jobs

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!

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.