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

            mika Michael Prokop created issue -
            der_do Udo Waechter added a comment -

            Just installed the plugin from branch "preview_0_3". Works like a charm.

            der_do Udo Waechter added a comment - Just installed the plugin from branch "preview_0_3". Works like a charm.
            ngiger ngiger added a comment -

            This should be fixed in release 0.3.2 release on May 14, 2014.

            ngiger ngiger added a comment - This should be fixed in release 0.3.2 release on May 14, 2014.
            ngiger ngiger made changes -
            Field Original Value New Value
            Assignee ngiger [ ngiger ]
            ngiger ngiger made changes -
            Status Open [ 1 ] In Progress [ 3 ]

            Just tested this - looks good so far, thanks a lot!

            mika Michael Prokop added a comment - Just tested this - looks good so far, thanks a lot !
            olbat Luc Sarzyniec added a comment -

            Hello, what's the status of this bug please ?

            I've tried the version 0.3.2 (jenkins 1.596) and it do not seems to be fixed ...

            olbat Luc Sarzyniec added a comment - Hello, what's the status of this bug please ? I've tried the version 0.3.2 (jenkins 1.596) and it do not seems to be fixed ...
            olbat Luc Sarzyniec made changes -
            Status In Progress [ 3 ] Open [ 1 ]
            olbat Luc Sarzyniec made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            mario_mancino Mario Mancino added a comment -

            Still doesn't work - but if you need a workaround:
            Create a Matrix-Project tied to the master with a slave axis for your build slaves.
            This will run the build on the slave, but also checkout the repository on the master.

            mario_mancino Mario Mancino added a comment - Still doesn't work - but if you need a workaround: Create a Matrix-Project tied to the master with a slave axis for your build slaves. This will run the build on the slave, but also checkout the repository on the master.
            olbat Luc Sarzyniec added a comment -

            OK, thank you for your answer and your workaround
            BTW, any idea if it will be fixed soon ?

            olbat Luc Sarzyniec added a comment - OK, thank you for your answer and your workaround BTW, any idea if it will be fixed soon ?
            ngiger ngiger added a comment -

            Can you give version 0.4.0 a try whether the problem still persists? If yes, I will try to fix in the next few weeks.

            ngiger ngiger added a comment - Can you give version 0.4.0 a try whether the problem still persists? If yes, I will try to fix in the next few weeks.

            Just tried version 0.4.0 on 1.580.3 building on a slave and the problem still persists.

            dg Dirk Michael Goldschmidt added a comment - Just tried version 0.4.0 on 1.580.3 building on a slave and the problem still persists.
            yaron_knochen Yaron Knochen added a comment -

            Any update on this?

            yaron_knochen Yaron Knochen added a comment - Any update on this?
            spacediver Pavel Sutyrin added a comment -

            Bump.

            spacediver Pavel Sutyrin added a comment - Bump.
            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.
            klimas7 Boguslaw Klimas made changes -
            Assignee ngiger [ ngiger ] Boguslaw Klimas [ klimas7 ]
            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
            klimas7 Boguslaw Klimas made changes -
            Link This issue is blocking JENKINS-33584 [ JENKINS-33584 ]
            klimas7 Boguslaw Klimas made changes -
            Status In Progress [ 3 ] Open [ 1 ]
            markewaite Mark Waite made changes -
            Link This issue is related to JENKINS-33584 [ JENKINS-33584 ]
            markewaite Mark Waite made changes -
            Link This issue is related to JENKINS-33747 [ JENKINS-33747 ]
            markewaite Mark Waite made changes -
            Link This issue is related to JENKINS-33747 [ JENKINS-33747 ]
            markewaite Mark Waite made changes -
            Link This issue is related to JENKINS-33584 [ JENKINS-33584 ]
            markewaite Mark Waite made changes -
            Link This issue is related to JENKINS-33747 [ JENKINS-33747 ]
            klimas7 Boguslaw Klimas made changes -
            Status Open [ 1 ] In Progress [ 3 ]

            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

            Fixed in releas 0.6.0

            klimas7 Boguslaw Klimas added a comment - Fixed in releas 0.6.0
            klimas7 Boguslaw Klimas made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 147104 ] JNJira + In-Review [ 192239 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: