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

Reduce length of workspace directory name for multibranch jobs

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • core
    • None

      If the name of multibranch job is more then 15 characters, it will be truncated when the name of the workspace directory is created.  This is because there is a large generated string which is prepended to the directory name.  

      The request is to reduce the size of the generated string, so that the name of the job can be longer then 15 characters.

      In the attached screen shot the job name is "Build_System_Documentation_multibranch_01".   The directory name shows that the first 15 characters of that have been dropped.

      Just noticed, the name of the branch is in there also.  So most likely it is another 12 characters  for that.  So something like a current total of (15 + 12 =) 27 for job name + branch name, before things start to get truncated.

      Thanks.

          [JENKINS-48176] Reduce length of workspace directory name for multibranch jobs

          Chris Foran created issue -
          Chris Foran made changes -
          Description Original: If the name of multibranch job is more then 15 characters, it will be truncated and the name of the workspace directory is create.  This is because there is a large generated string which  needs to be prepended to the directory name.  

          The request is to reduce the size of the generated string, so that the name of the job can be longer then 15 characters.

          In the attached screen shot the job name is "Build_System_Documentation_multibranch_01".   The directory name shows that the first 15 characters of that have been dropped.

          Thanks.
          New: If the name of multibranch job is more then 15 characters, it will be truncated when the name of the workspace directory is created.  This is because there is a large generated string which is prepended to the directory name.  

          The request is to reduce the size of the generated string, so that the name of the job can be longer then 15 characters.

          In the attached screen shot the job name is "Build_System_Documentation_multibranch_01".   The directory name shows that the first 15 characters of that have been dropped.

          Thanks.
          Chris Foran made changes -
          Description Original: If the name of multibranch job is more then 15 characters, it will be truncated when the name of the workspace directory is created.  This is because there is a large generated string which is prepended to the directory name.  

          The request is to reduce the size of the generated string, so that the name of the job can be longer then 15 characters.

          In the attached screen shot the job name is "Build_System_Documentation_multibranch_01".   The directory name shows that the first 15 characters of that have been dropped.

          Thanks.
          New: If the name of multibranch job is more then 15 characters, it will be truncated when the name of the workspace directory is created.  This is because there is a large generated string which is prepended to the directory name.  

          The request is to reduce the size of the generated string, so that the name of the job can be longer then 15 characters.

          In the attached screen shot the job name is "Build_System_Documentation_multibranch_01".   The directory name shows that the first 15 characters of that have been dropped.

          Just noticed, the name of the branch is in there also.  So most likely it is another 12 characters  for that.  So something like a current total of (15 + 12 =) 27 for job name + branch name, before things start to get truncated.

          Thanks.
          Daniel Beck made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Daniel Beck made changes -
          Link New: This issue duplicates JENKINS-38706 [ JENKINS-38706 ]

            Unassigned Unassigned
            treenapping Chris Foran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: