Git Product home page Git Product logo

Comments (1)

townsfolk avatar townsfolk commented on May 21, 2024

Hi Moritz, Thank you for your interest in this project. Looking forward to a pull request. :)

  1. There was an issue with using project.getProjectDir(), if I remember correctly I believe this fails when using sub-modules. The plugin assumes that there is one SCM per project - and that sub-modules belong to the same SCM tree. This means that the SCM commands must be executed at the root of the project. If I remember correctly, project.getProjectDir() will give me the project directory of the current project (or sub-module when Gradle is in one), which caused the plugin to fail because the SCM commands would get executed within the sub-module's directory instead of the project's root. Do you have a project that uses sub-modules that you could test your change with?
  2. This one is a little tricky. I don't think it's a good idea for the username/password to be hard-coded in the build.gradle file ( at least, my ops guys wouldn't like this ). A better approach may be to have one of your sys-admins set up the access differently for your Jenkins user - or have them SSH in to the box and log-in through svn and have the password saved that way. If that's not an option, I think it'd be better if you had them passed in via -P or -D parameters.

from gradle-release.

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.