Giter Site home page Giter Site logo

Only latest revision? about go-maven-poller HOT 4 CLOSED

1and1 avatar 1and1 commented on August 16, 2024
Only latest revision?

from go-maven-poller.

Comments (4)

bitionaire avatar bitionaire commented on August 16, 2024

Hi @esiqveland
you should be able to specify a version range from which the latest version will be polled. If that doesn't work, please copy&paste your config and we'll have a look into your issue :)

from go-maven-poller.

esiqveland avatar esiqveland commented on August 16, 2024

Ok, so you have to set a lower bound on the versions to include them? Then I will close this issue, but maybe note this in the readme?

from go-maven-poller.

bitionaire avatar bitionaire commented on August 16, 2024

As implemented by this plugin the term latest is equal to the highest available version in the repository.

Let's talk it through by an example. Say you have an artifact and there are multiple versions in the repo including

  • 2.0
  • 1.3
  • 1.0

When you leave the upper & lower bound blank, the plugin will always poll the latest (highest) version. Here, that's version 2.0.


If you want to only use the artifacts with major version 1, you have to set the upper bound to 2.0. This will leave you with the list of

  • 1.3
  • 1.0

and you're latest (highest) version is 1.3.


Now the lower bound is basically useless I guess, except you want to make sure that the plugin wont use version 1.0 even if version 1.3 was deleted from the repository. Yet I'm not sure if that's even allowed.


Does this answer your question? Do you need another approach / another definition of latest?

from go-maven-poller.

esiqveland avatar esiqveland commented on August 16, 2024

Thank you for a very thorough answer!
Every build gets a version number with us, so I was just wondering where all the versions went.
We used to use the other maven-poller plugin for gocd, which shows the last 10 versions or something when you leave the lower bound blank.

It's ok, I will close this then!

from go-maven-poller.

Related Issues (10)

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.