Giter VIP home page Giter VIP logo

Comments (2)

arunvelsriram avatar arunvelsriram commented on September 26, 2024

This can be achieved using the blacklist/whitelist materials feature provided by GoCD.
https://docs.gocd.org/current/configuration/admin_add_material.html

from gocd-git-path-material-plugin.

chadlwilson avatar chadlwilson commented on September 26, 2024

@Sepirothni The error above (SCM revision cannot be empty) generally means the plugin has not been able to find any revision in your repo that matches the filtered path (e.g \server\services\Notification in your case above). You probably won't to check the path is correct; it looks a bit odd because it's using backslashes (but maybe you are using windows?); and the leading slash is possibly not correct.

Having said that, personally I had major challenges getting 1.2.3 to work on more modern GoCD versions against services such as AWS CodeCommit (due to the plugin's v1.2.3 use of JGit); and started maintaining a modernized fork at https://github.com/chadlwilson/gocd-git-path-material-plugin. I have a PR outstanding to see if my changes can get merged back here - but you might be interested to try my fork and see if it works for you. Hopefully soon I will be able to get it merged back here and released.

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.