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

Documentation must clearly say that buildKey must be under 40 chars

      I've created a buildKey that has more than 40 chars and I could not understand why it does not work until i've read the following 

      // bitbucket requires the key to be shorter than 40 chars

      in BitbucketBuildStatusHelper.java

       

      Please make it clear in the documentation or fail the job in case the buildKey is more than 40 chars

       

      Thanks

          [JENKINS-72461] Documentation must clearly say that buildKey must be under 40 chars

          Tzach Solomon created issue -
          Tzach Solomon made changes -
          Description Original: I've created a buildKey that has more than 40 chars and I could not understand why it does not work until i've read the following "// bitbucket requires the key to be shorter than 40 chars" in [https://github.com/jenkinsci/bitbucket-build-status-notifier-plugin/blob/65901278e688344ea104e408eb61d768953b25a7/src/main/java/org/jenkinsci/plugins/bitbucket/BitbucketBuildStatusHelper.java#L288]

           

          Please make it clear in the documentation or fail the job in case the buildKey is more than 40 chars

           

          Thanks
          New: I've created a buildKey that has more than 40 chars and I could not understand why it does not work until i've read the following 
          {code:java}
          // bitbucket requires the key to be shorter than 40 chars{code}
          in [https://github.com/jenkinsci/bitbucket-build-status-notifier-plugin/blob/65901278e688344ea104e408eb61d768953b25a7/src/main/java/org/jenkinsci/plugins/bitbucket/BitbucketBuildStatusHelper.java#L288|http://example.com]]

           

          Please make it clear in the documentation or fail the job in case the buildKey is more than 40 chars

           

          Thanks
          Tzach Solomon made changes -
          Description Original: I've created a buildKey that has more than 40 chars and I could not understand why it does not work until i've read the following 
          {code:java}
          // bitbucket requires the key to be shorter than 40 chars{code}
          in [https://github.com/jenkinsci/bitbucket-build-status-notifier-plugin/blob/65901278e688344ea104e408eb61d768953b25a7/src/main/java/org/jenkinsci/plugins/bitbucket/BitbucketBuildStatusHelper.java#L288|http://example.com]]

           

          Please make it clear in the documentation or fail the job in case the buildKey is more than 40 chars

           

          Thanks
          New: I've created a buildKey that has more than 40 chars and I could not understand why it does not work until i've read the following 
          {code:java}
          // bitbucket requires the key to be shorter than 40 chars{code}
          in [BitbucketBuildStatusHelper.java|https://github.com/jenkinsci/bitbucket-build-status-notifier-plugin/blob/65901278e688344ea104e408eb61d768953b25a7/src/main/java/org/jenkinsci/plugins/bitbucket/BitbucketBuildStatusHelper.java#L28]

           

          Please make it clear in the documentation or fail the job in case the buildKey is more than 40 chars

           

          Thanks

            flagbit Antonio Mansilla
            tzach_solomon Tzach Solomon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: