Using Environment Parameters like BUILD_TAG produces unknown character when passed in as parameter in jobs organized in folders

This issue is archived. You can view it, but you can't modify it. Learn more

    • Type: Bug
    • Resolution: Not A Defect
    • Priority: Minor
    • Component/s: core
    • Environment:

      Passing in this string to shell execution works:

      ./tosca_execution_client.sh  --creator $BUILD_NUMBER 

      Passing in this string to shell execution fails:

      ./tosca_execution_client.sh  --creator $BUILD_TAG 

      This results in an error in the job execution console - hidden illegal characters appear to be in the folder path part of the $BUILD_TAG response:

      2022-11-08 17:00:20 -0600 [ERR] Unknown parameter passed: *Folder-PPT*

       

      The Full project name: PPT Folder/PPT KGEN Login

      It appears spaces in the folder & job name are not escaped properly in the folder path response of the BUILD_TAG environment variable?

      Using JOB_NAME caused similar problems

       

            Assignee:
            Unassigned
            Reporter:
            William Ballard
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: