Giter VIP home page Giter VIP logo

Comments (6)

chadlwilson avatar chadlwilson commented on June 30, 2024

There are many ways to have the GoCD Agent run with a different Java version to that of the pipelines that are running on it - you can have many JVMs side-by-side on the host (e.g OS packages, or use a Java version manager such as jabba, sdkman, rtx, adsf), or you can dynamically download/install/make available a Java 8 installation when your pipeline starts. I would avoid thinking that the requirements of the builds on your agents to run with Java 8 should block an upgrade. There are many security vulnerabilities in running a GoCD version that old, and it's unsupported.

Anyway, to your actual question, you can try and remove the flyweight folder and refresh the material to achieve that, but that version of the plugin is so old, and GoCD version so old that I'd be guessing as to what will happen.

from gocd-git-path-material-plugin.

user6330 avatar user6330 commented on June 30, 2024

Thanks for the reply. Now we are going to plan the upgrade and the impact.

However i already try do remove flyweight but it still knows what's the latest revision of the commit.

from gocd-git-path-material-plugin.

chadlwilson avatar chadlwilson commented on June 30, 2024

Are you sure the later commits match the paths in your path expression?

You could try changing the path expression and then changing it back, or something like that. honestly I have little experience with the 1.x plugin version since it uses a very different underlying approach (uses a java git library, rather than the native git executable).

from gocd-git-path-material-plugin.

user6330 avatar user6330 commented on June 30, 2024

we upgrade to 2.1.1-119
now pipeline give this problem

Did not find 'scm' plugin with id 'git-path'. Looks like plugin is missing

from gocd-git-path-material-plugin.

chadlwilson avatar chadlwilson commented on June 30, 2024

You said you were running java 8 on your server and agents? As explicitly documented, v2.1 won't work with that.

Anyway, look at the logs and do some debugging please. I can't help on such limited information describing a problem.

from gocd-git-path-material-plugin.

chadlwilson avatar chadlwilson commented on June 30, 2024

Closing for now, as there's not enough information to help further here.

from gocd-git-path-material-plugin.

Related Issues (20)

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.