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

Git Parameter Plugin doesn't need to clone

    Details

    • Similar Issues:

      Description

      From the plugin while selecting branches:

      "If you wipe out your workspace, the plugin needs to clone the repository before it can list the tags/revisions. This may take some time if you have a slow connection or the repository is big."

      That's not true - you can use `git ls-remote <remote-URL>`

        Attachments

          Issue Links

            Activity

            Hide
            klimas7 Boguslaw Klimas added a comment -

            Release 0.8.0

            Show
            klimas7 Boguslaw Klimas added a comment - Release 0.8.0
            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/GitParameterDefinition.java
            src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/Messages.properties
            src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/Messages_pl.properties
            src/test/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinitionTest.java
            http://jenkins-ci.org/commit/git-parameter-plugin/1fb81a9c39dd215c82ad4751466d4ceb47da1c31
            Log:
            Merge pull request #43 from jenkinsci/feature/JENKINS-40232

            Feature/jenkins 40232

            Compare: https://github.com/jenkinsci/git-parameter-plugin/compare/81198692f868...1fb81a9c39dd

            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/GitParameterDefinition.java src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/Messages.properties src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/Messages_pl.properties src/test/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinitionTest.java http://jenkins-ci.org/commit/git-parameter-plugin/1fb81a9c39dd215c82ad4751466d4ceb47da1c31 Log: Merge pull request #43 from jenkinsci/feature/ JENKINS-40232 Feature/jenkins 40232 Compare: https://github.com/jenkinsci/git-parameter-plugin/compare/81198692f868...1fb81a9c39dd
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: klimas7
            Path:
            README.textile
            pom.xml
            src/main/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterRebuild.java
            http://jenkins-ci.org/commit/git-parameter-plugin/0fd993b9e668ecc4840010c06e567b09aaee0aa6
            Log:
            Merge branch 'master' into feature/JENKINS-40232

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: klimas7 Path: README.textile pom.xml src/main/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterRebuild.java http://jenkins-ci.org/commit/git-parameter-plugin/0fd993b9e668ecc4840010c06e567b09aaee0aa6 Log: Merge branch 'master' into feature/ JENKINS-40232
            Hide
            klimas7 Boguslaw Klimas added a comment -

            Hi Ebrahim Moshaya
            Yes, the changes have been tested but still require refactoring and error handling.
            Deadline for the next release is published on the wiki page

            Regards
            Boguslaw

            Show
            klimas7 Boguslaw Klimas added a comment - Hi Ebrahim Moshaya Yes, the changes have been tested but still require refactoring and error handling. Deadline for the next release is published on the wiki page Regards Boguslaw
            Hide
            emoshaya_cognitoiq Ebrahim Moshaya added a comment -

            Hi Boguslaw Klimas I see you've started work on this on a POC branch. Have you had any chance to test out your changes? will it be ready for release soon? I'm very eager for this to be released as all our slaves are cloud based and terminate over night..In the morning, they lose all their workspaces and therefore this plugin can't be used with this setup.

            Show
            emoshaya_cognitoiq Ebrahim Moshaya added a comment - Hi Boguslaw Klimas I see you've started work on this on a POC branch. Have you had any chance to test out your changes? will it be ready for release soon? I'm very eager for this to be released as all our slaves are cloud based and terminate over night..In the morning, they lose all their workspaces and therefore this plugin can't be used with this setup.
            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/GitParameterDefinition.java
            src/test/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinitionTest.java
            http://jenkins-ci.org/commit/git-parameter-plugin/734ac6b91911a05e47019908dd1b9650f766b72d
            Log:
            JENKINS-40232: PoC

            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/GitParameterDefinition.java src/test/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinitionTest.java http://jenkins-ci.org/commit/git-parameter-plugin/734ac6b91911a05e47019908dd1b9650f766b72d Log: JENKINS-40232 : PoC
            Hide
            emoshaya_cognitoiq Ebrahim Moshaya added a comment -

            Boguslaw Klimas would be nice to get this soon All out slaves/agents are ec2 on demand instances. Workspaces will not be there for any of them. It's a big of a hassle every time to build once just to populate the list of branches/tags.

            Thanks

            Show
            emoshaya_cognitoiq Ebrahim Moshaya added a comment - Boguslaw Klimas would be nice to get this soon All out slaves/agents are ec2 on demand instances. Workspaces will not be there for any of them. It's a big of a hassle every time to build once just to populate the list of branches/tags. Thanks
            Hide
            klimas7 Boguslaw Klimas added a comment -

            Hi Sam Duke
            You are right, but I don't use native git command in the plugin. I use implementation of org.jenkinsci.plugins.gitclient.GitClient interface.

            This interface have a defined method getRemoteReferences
            I will try use that and resolve this issue.
            I plan the next release at the turn of January and February

            Show
            klimas7 Boguslaw Klimas added a comment - Hi Sam Duke You are right, but I don't use native git command in the plugin. I use implementation of org.jenkinsci.plugins.gitclient.GitClient interface. This interface have a defined method getRemoteReferences I will try use that and resolve this issue. I plan the next release at the turn of January and February

              People

              • Assignee:
                klimas7 Boguslaw Klimas
                Reporter:
                samskiter Sam Duke
              • Votes:
                4 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: