Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-16290

git parameter plugin doesn't support Jenkins slave setup with git repos checked out only on slaves

    XMLWordPrintable

Details

    Description

      The "Known Limitations / Bugs" section on https://wiki.jenkins-ci.org/display/JENKINS/Git+Parameter+Plugin mentions:

      There is a problem when you want to build your project for a first time and you don't have any suitable workspace which works with git, then the list to chose from is empty, but it will work after the first build

      This is true for a single node Jenkins setup, but if building on slaves then the git checkout/repos usually is present only on the slaves and the 'git fetch -t' by the git parameter plugin will never succeed.

      Attachments

        Issue Links

          Activity

            Fixed in releas 0.6.0

            klimas7 Boguslaw Klimas added a comment - Fixed in releas 0.6.0

            Code changed in jenkins
            User: Boguslaw Klimas
            Path:
            src/main/java/net/uaznia/lukanus/hudson/plugins/gitparameter/FilePathWrapper.java
            src/main/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition.java
            src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition/index.jelly
            src/test/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinitionTest.java
            http://jenkins-ci.org/commit/git-parameter-plugin/a9b4abd7790a992478ba623648dc54144347e136
            Log:
            Merge pull request #24 from jenkinsci/feature/JENKINS-16290

            Feature/jenkins 16290

            Compare: https://github.com/jenkinsci/git-parameter-plugin/compare/67da107e69cf...a9b4abd7790a

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Boguslaw Klimas Path: src/main/java/net/uaznia/lukanus/hudson/plugins/gitparameter/FilePathWrapper.java src/main/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition.java src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition/index.jelly src/test/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinitionTest.java http://jenkins-ci.org/commit/git-parameter-plugin/a9b4abd7790a992478ba623648dc54144347e136 Log: Merge pull request #24 from jenkinsci/feature/ JENKINS-16290 Feature/jenkins 16290 Compare: https://github.com/jenkinsci/git-parameter-plugin/compare/67da107e69cf...a9b4abd7790a
            klimas7 Boguslaw Klimas added a comment - - edited

            Hi everyone,

            I have plans investigate and resolve this issue in few release, maybe 0.4.2 (I will change release number to 0.5 or 1.0 )

            But first I must cover all code by unit tests and refactoring it.

            Regards
            Boguslaw Klimas

            klimas7 Boguslaw Klimas added a comment - - edited Hi everyone, I have plans investigate and resolve this issue in few release, maybe 0.4.2 (I will change release number to 0.5 or 1.0 ) But first I must cover all code by unit tests and refactoring it. Regards Boguslaw Klimas
            kyh79 YoungHo Kim added a comment -

            Any update on this???
            Please notice this issue.

            kyh79 YoungHo Kim added a comment - Any update on this??? Please notice this issue.
            spacediver Pavel Sutyrin added a comment -

            Bump.

            spacediver Pavel Sutyrin added a comment - Bump.

            People

              klimas7 Boguslaw Klimas
              mika Michael Prokop
              Votes:
              17 Vote for this issue
              Watchers:
              25 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: