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

Long build names do not update bitbucket build status

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • Jenkins 1.643, running directly on the server, accessed by reverse proxy through lighttpd
      Multiple ssh-connected linux slaves
      64-bit linux

      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.

          [JENKINS-32781] Long build names do not update bitbucket build status

          hi joaander 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

          Antonio Mansilla added a comment - hi joaander 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

          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.

          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.

          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

          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

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

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

          Excellent, thank you for the great plugin!

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

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

              Created:
              Updated:
              Resolved: