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

    • Similar Issues:

      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

            Hide
            der_do Udo Waechter added a comment -

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

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

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

            Show
            ngiger ngiger added a comment - This should be fixed in release 0.3.2 release on May 14, 2014.
            Hide
            mika Michael Prokop added a comment -

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

            Show
            mika Michael Prokop added a comment - Just tested this - looks good so far, thanks a lot !
            Hide
            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 ...

            Show
            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 ...
            Hide
            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.

            Show
            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.
            Hide
            olbat Luc Sarzyniec added a comment -

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

            Show
            olbat Luc Sarzyniec added a comment - OK, thank you for your answer and your workaround BTW, any idea if it will be fixed soon ?
            Hide
            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.

            Show
            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.
            Hide
            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.

            Show
            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.
            Hide
            yaron_knochen Yaron Knochen added a comment -

            Any update on this?

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

            Bump.

            Show
            spacediver Pavel Sutyrin added a comment - Bump.
            Hide
            kyh79 YoungHo Kim added a comment -

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

            Show
            kyh79 YoungHo Kim added a comment - Any update on this??? Please notice this issue.
            Hide
            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

            Show
            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
            Hide
            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

            Show
            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
            Hide
            klimas7 Boguslaw Klimas added a comment -

            Fixed in releas 0.6.0

            Show
            klimas7 Boguslaw Klimas added a comment - Fixed in releas 0.6.0

              People

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

                Dates

                Created:
                Updated:
                Resolved: