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

Support for building tags

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Right now, using Jenkins to build releases is much harder than it should be. For every git repo I need to create two jobs. One to build branches and one to build tags. This is less than ideal, but works around the limitation that Jenkins hates git tags.

      This works decently on the other git plugin, but completely impossible with this plugin. I think it would be fantastic to have this plugin build tags, and communicate with github about the build data.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSourceRequest.java
            src/main/java/org/jenkinsci/plugins/github_branch_source/PushGHEventSubscriber.java
            http://jenkins-ci.org/commit/github-branch-source-plugin/51fc6efbfed92f541032ed672be2ee9d9ac2e398
            Log:
            JENKINS-34395 Properly handle push events for tags

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSourceRequest.java src/main/java/org/jenkinsci/plugins/github_branch_source/PushGHEventSubscriber.java http://jenkins-ci.org/commit/github-branch-source-plugin/51fc6efbfed92f541032ed672be2ee9d9ac2e398 Log: JENKINS-34395 Properly handle push events for tags
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            pom.xml
            src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java
            src/main/java/org/jenkinsci/plugins/github_branch_source/PullRequestAction.java
            src/main/java/org/jenkinsci/plugins/github_branch_source/PullRequestGHEventSubscriber.java
            http://jenkins-ci.org/commit/github-branch-source-plugin/4d47488b3116e2a605ff786353f4ac49319e9d69
            Log:
            JENKINS-34395 Update to 1.89 of github-api and guard against 404 in repos without any tags

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: pom.xml src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java src/main/java/org/jenkinsci/plugins/github_branch_source/PullRequestAction.java src/main/java/org/jenkinsci/plugins/github_branch_source/PullRequestGHEventSubscriber.java http://jenkins-ci.org/commit/github-branch-source-plugin/4d47488b3116e2a605ff786353f4ac49319e9d69 Log: JENKINS-34395 Update to 1.89 of github-api and guard against 404 in repos without any tags
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            pom.xml
            src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMFileSystem.java
            src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java
            src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubTagSCMHead.java
            src/main/java/org/jenkinsci/plugins/github_branch_source/PushGHEventSubscriber.java
            src/main/java/org/jenkinsci/plugins/github_branch_source/TagDiscoveryTrait.java
            src/test/java/org/jenkinsci/plugins/github_branch_source/TagDiscoveryTraitTest.java
            http://jenkins-ci.org/commit/github-branch-source-plugin/e98acfa47bcd74c30423e5d24afff7556874022a
            Log:
            JENKINS-34395 Add some tests and update git dependency

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: pom.xml src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMFileSystem.java src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubTagSCMHead.java src/main/java/org/jenkinsci/plugins/github_branch_source/PushGHEventSubscriber.java src/main/java/org/jenkinsci/plugins/github_branch_source/TagDiscoveryTrait.java src/test/java/org/jenkinsci/plugins/github_branch_source/TagDiscoveryTraitTest.java http://jenkins-ci.org/commit/github-branch-source-plugin/e98acfa47bcd74c30423e5d24afff7556874022a Log: JENKINS-34395 Add some tests and update git dependency
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            pom.xml
            src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMFile.java
            src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMFileSystem.java
            src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator.java
            src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMProbe.java
            src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java
            src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSourceRequest.java
            src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubTagSCMHead.java
            src/main/java/org/jenkinsci/plugins/github_branch_source/PullRequestAction.java
            src/main/java/org/jenkinsci/plugins/github_branch_source/PullRequestGHEventSubscriber.java
            src/main/java/org/jenkinsci/plugins/github_branch_source/PushGHEventSubscriber.java
            src/main/java/org/jenkinsci/plugins/github_branch_source/TagDiscoveryTrait.java
            src/main/resources/org/jenkinsci/plugins/github_branch_source/Messages.properties
            src/main/resources/org/jenkinsci/plugins/github_branch_source/TagDiscoveryTrait/config.jelly
            src/main/resources/org/jenkinsci/plugins/github_branch_source/TagDiscoveryTrait/help.html
            src/test/java/org/jenkinsci/plugins/github_branch_source/TagDiscoveryTraitTest.java
            http://jenkins-ci.org/commit/github-branch-source-plugin/2fc52660e0f095d7fe8b4f8e28eca95fc4bf50c2
            Log:
            Merge pull request #158 from stephenc/jenkins-34395

            JENKINS-34395 Support for tag discovery

            Compare: https://github.com/jenkinsci/github-branch-source-plugin/compare/e6e740de462a...2fc52660e0f0

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: pom.xml src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMFile.java src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMFileSystem.java src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator.java src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMProbe.java src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSourceRequest.java src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubTagSCMHead.java src/main/java/org/jenkinsci/plugins/github_branch_source/PullRequestAction.java src/main/java/org/jenkinsci/plugins/github_branch_source/PullRequestGHEventSubscriber.java src/main/java/org/jenkinsci/plugins/github_branch_source/PushGHEventSubscriber.java src/main/java/org/jenkinsci/plugins/github_branch_source/TagDiscoveryTrait.java src/main/resources/org/jenkinsci/plugins/github_branch_source/Messages.properties src/main/resources/org/jenkinsci/plugins/github_branch_source/TagDiscoveryTrait/config.jelly src/main/resources/org/jenkinsci/plugins/github_branch_source/TagDiscoveryTrait/help.html src/test/java/org/jenkinsci/plugins/github_branch_source/TagDiscoveryTraitTest.java http://jenkins-ci.org/commit/github-branch-source-plugin/2fc52660e0f095d7fe8b4f8e28eca95fc4bf50c2 Log: Merge pull request #158 from stephenc/jenkins-34395 JENKINS-34395 Support for tag discovery Compare: https://github.com/jenkinsci/github-branch-source-plugin/compare/e6e740de462a...2fc52660e0f0
            Hide
            stephenconnolly Stephen Connolly added a comment -

            Released in 2.3.0

            Show
            stephenconnolly Stephen Connolly added a comment - Released in 2.3.0

              People

              • Assignee:
                cloudbees CloudBees Inc.
                Reporter:
                georgemb George Shammas
              • Votes:
                91 Vote for this issue
                Watchers:
                90 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: