Maven Program can’t save Execute shell

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

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Blocker
    • Component/s: core
    • Environment:

      When I configure Execute shell in a Maven project, clicking save or apply results in an interface error at /jenkins/job/cqu-tp-prd-new/configSubmit, and it cannot be saved. My shell script is as follows:

      cd tp-runecho "===============Dynamic Parameter Configuration begin===============>"APPLICATION_NAME=tpecho "image and container name is $APPLICATION_NAME"PORT=10089TAG=prd-${BUILD_NUMBER}
      cp -r /var/jenkins_home/agent target/echo "===============Dynamic Parameter Configuration end===============>"
      echo "===============Login to Harbor===============>"echo ${password} | docker login -u ${username}  --password-stdin
      echo "build docker image"docker build --build-arg APP_NAME=cqu-tp --build-arg PORT=$PORT -f /var/jenkins_home/k8s-config/docker/DockerfileAgent -t $APPLICATION_NAME:$TAG .
      echo "current docker images:"docker images | grep $APPLICATION_NAME
      echo "docker tag =====>"docker tag $APPLICATION_NAME:$TAG  61.128.133.74:86/uni/$APPLICATION_NAME:$TAG
      echo "docker push =====>"docker push 61.128.133.74:86/uni/$APPLICATION_NAME:$TAG 

      However, if I only write some simple commands, it can be saved successfully, for example:

      kubectl config use-context jw-prodx
      kubectl config current-context 

      On another page, the error message shows: Uncaught SecurityError: Failed to read a named property 'applyCompletionHandler' from 'Window': Blocked a frame with origin "http://172.20.216.73:8080" from accessing a cross-origin frame.I can guarantee that my Jenkins URL configuration is correct. How should I troubleshoot and resolve this issue?

        1. 6f36c8dd-1f8a-48d2-87d4-2dc8d18702e9.png
          200 kB
          何
        2. 8d9c1060-305a-4901-8cc6-836304443b5f.png
          144 kB
          何
        3. image-2025-07-09-11-01-46-685.png
          142 kB
          何
        4. image-2025-07-11-15-27-00-585.png
          523 kB
          何
        5. image-2025-07-11-15-33-13-329.png
          247 kB
          何
        6. image-2025-07-11-15-37-12-634.png
          476 kB
          何
        7. image-2025-07-11-15-38-47-696.png
          533 kB
          何

            Assignee:
            Unassigned
            Reporter:
            何
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: