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

      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.

          [JENKINS-16290] git parameter plugin doesn't support Jenkins slave setup with git repos checked out only on slaves

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

          Luc Sarzyniec added a comment -

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

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

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

          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 added a comment -

          Any update on this?

          Yaron Knochen added a comment - Any update on this?

          Pavel Sutyrin added a comment -

          Bump.

          Pavel Sutyrin added a comment - Bump.

          YoungHo Kim added a comment -

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

          YoungHo Kim added a comment - Any update on this??? Please notice this issue.

          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

          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

          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/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

          Boguslaw Klimas added a comment - Fixed in releas 0.6.0

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

              Created:
              Updated:
              Resolved: