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

Long build names do not update bitbucket build status

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Labels:
      None
    • Environment:
      Jenkins 1.643, running directly on the server, accessed by reverse proxy through lighttpd
      Multiple ssh-connected linux slaves
      64-bit linux
    • Similar Issues:

      Description

      There appears to be a name length limit on jobs. I got a successful build status notification to bitbucket with a job name "hoomd-nompi ยป cpu,nompi,single,python3 #9" (part of a matrix plugin project), but jobs with names a few characters longer than that simply fail to show up in bitbucket. No errors were posted to the jenkins log file.

        Attachments

          Issue Links

            Activity

            Hide
            flagbit Antonio Mansilla added a comment -

            hi Joshua Anderson first thank you for reporting the issue. I'll check for this and notify you whether this is a problem in the plugin or a limitation of the Bitbucket build status resource.

            Greetings
            Antonio

            Show
            flagbit Antonio Mansilla added a comment - hi Joshua Anderson first thank you for reporting the issue. I'll check for this and notify you whether this is a problem in the plugin or a limitation of the Bitbucket build status resource. Greetings Antonio
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Antonio Mansilla
            Path:
            src/main/java/org/jenkinsci/plugins/bitbucket/BitbucketBuildStatusNotifier.java
            http://jenkins-ci.org/commit/bitbucket-build-status-notifier-plugin/0f5cc60443b81507d627f491ea58e69b4ce734ae
            Log:
            [Fix JENKINS-32781] Fix bug long bitbucket key

            Bitbucket requires the build status key to be max 40 chars.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Antonio Mansilla Path: src/main/java/org/jenkinsci/plugins/bitbucket/BitbucketBuildStatusNotifier.java http://jenkins-ci.org/commit/bitbucket-build-status-notifier-plugin/0f5cc60443b81507d627f491ea58e69b4ce734ae Log: [Fix JENKINS-32781] Fix bug long bitbucket key Bitbucket requires the build status key to be max 40 chars.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Antonio Mansilla
            Path:
            src/main/java/org/jenkinsci/plugins/bitbucket/BitbucketBuildStatusNotifier.java
            http://jenkins-ci.org/commit/bitbucket-build-status-notifier-plugin/d73ec91ad424e4f885a7961579a55ccf1299d5e2
            Log:
            Merge pull request #11 from Flagbit/fix-long-names-jenkins-32781

            [Fix JENKINS-32781] Fix bug long bitbucket key

            Compare: https://github.com/jenkinsci/bitbucket-build-status-notifier-plugin/compare/539baf9902d4...d73ec91ad424

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Antonio Mansilla Path: src/main/java/org/jenkinsci/plugins/bitbucket/BitbucketBuildStatusNotifier.java http://jenkins-ci.org/commit/bitbucket-build-status-notifier-plugin/d73ec91ad424e4f885a7961579a55ccf1299d5e2 Log: Merge pull request #11 from Flagbit/fix-long-names-jenkins-32781 [Fix JENKINS-32781] Fix bug long bitbucket key Compare: https://github.com/jenkinsci/bitbucket-build-status-notifier-plugin/compare/539baf9902d4...d73ec91ad424
            Hide
            flagbit Antonio Mansilla added a comment -

            Hi Joshua Anderson the bug was identified and fixed. It'll be released in the next release of the plugin.

            Show
            flagbit Antonio Mansilla added a comment - Hi Joshua Anderson the bug was identified and fixed. It'll be released in the next release of the plugin.
            Hide
            joaander Joshua Anderson added a comment -

            Excellent, thank you for the great plugin!

            Show
            joaander Joshua Anderson added a comment - Excellent, thank you for the great plugin!

              People

              • Assignee:
                flagbit Antonio Mansilla
                Reporter:
                joaander Joshua Anderson
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: