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

Crash when saving configuration of a project containing EOF shell script

      Crash when saving configuration of a project containing EOF shell script which contains following format:

      cd ${WORKSPACE}
      
      cat > HelloWorld.sh <<- 'EOF'
      #!/bin/bash
      
      echo HelloWorld
      
      EOF
      
      bash HelloWorld.sh

       

      HTTP Exception:

          [JENKINS-72327] Crash when saving configuration of a project containing EOF shell script

          Dan Wang created issue -
          Dan Wang made changes -
          Environment Original: 2.414.3 New: Jenkins 2.414.3
          Dan Wang made changes -
          Labels Original: 2.414.3-fixed shell New: shell
          Mark Waite made changes -
          Assignee Original: nobody [ richscze ]
          Dan Wang made changes -
          Attachment New: image-2023-11-16-16-17-24-310.png [ 61489 ]
          Dan Wang made changes -
          Description Original: Crash when saving configuration of a project containing EOF shell script which contains following format:
          {code:java}
          cd ${WORKSPACE}

          cat > HelloWorld.sh <<- 'EOF'
          #!/bin/bash

          echo HelloWorld

          EOF

          bash HelloWorld.sh{code}
           
          New: Crash when saving configuration of a project containing EOF shell script which contains following format:
          {code:java}
          cd ${WORKSPACE}

          cat > HelloWorld.sh <<- 'EOF'
          #!/bin/bash

          echo HelloWorld

          EOF

          bash HelloWorld.sh{code}
           

          HTTP Exception:

           
          Dan Wang made changes -
          Attachment Original: image-2023-11-16-16-17-24-310.png [ 61489 ]
          Dan Wang made changes -
          Attachment New: image-2023-11-16-16-17-48-070.png [ 61490 ]
          Dan Wang made changes -
          Description Original: Crash when saving configuration of a project containing EOF shell script which contains following format:
          {code:java}
          cd ${WORKSPACE}

          cat > HelloWorld.sh <<- 'EOF'
          #!/bin/bash

          echo HelloWorld

          EOF

          bash HelloWorld.sh{code}
           

          HTTP Exception:

           
          New: Crash when saving configuration of a project containing EOF shell script which contains following format:
          {code:java}
          cd ${WORKSPACE}

          cat > HelloWorld.sh <<- 'EOF'
          #!/bin/bash

          echo HelloWorld

          EOF

          bash HelloWorld.sh{code}
           

          HTTP Exception:

          !image-2023-11-16-16-17-48-070.png|width=601,height=304!
          Mark Waite made changes -
          Resolution New: Cannot Reproduce [ 5 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            Unassigned Unassigned
            sbc8112 Dan Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: