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

Unable to save job configuration for parameterized job after version upgrade

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      2.277.4
    • Similar Issues:

      Description

      Unable to save job configuration for parameterized job after version upgrade to 2.277.4. 

       

      Getting below console error randomly while saving the job configuration for parameterized job.

       

      Uncaught DOMException: Blocked a frame with origin "https://devopslab.example.com:8443" from accessing a cross-origin frame.
      at HTMLIFrameElement.<anonymous> (https://devopslab.example.com:8443/adjuncts/50adc27d/lib/form/apply/apply.js:36:66)

       

      Below are the plugins installed in my Jenkins instance.

       

      blueocean-rest:1.24.7
      git-client:3.7.2
      command-launcher:1.2
      xvfb:1.1.3
      config-file-provider:3.8.0
      ws-cleanup:0.39
      github-api:1.123
      pipeline-input-step:2.12
      echarts-api:5.1.0-2
      workflow-multibranch:2.24
      workflow-cps-global-lib:2.19
      pipeline-model-definition:1.8.5
      bouncycastle-api:2.20
      ant:1.11
      pipeline-stage-view:2.19
      junit:1.50
      display-url-api:2.3.5
      gitlab-logo:1.0.5
      workflow-api:2.44
      matrix-auth:2.6.7
      artifactory:3.11.4
      workflow-aggregator:2.6
      pipeline-graph-analysis:1.11
      slave-utilization-plugin:1.8
      slave-setup:1.10
      pipeline-model-api:1.8.5
      antisamy-markup-formatter:2.1
      pipeline-rest-api:2.19
      mapdb-api:1.0.9.0
      pipeline-utility-steps:2.8.0
      htmlpublisher:1.25
      blueocean-web:1.24.7
      github-branch-source:2.10.4
      jira:3.3
      blueocean-commons:1.24.7
      gradle:1.36
      momentjs:1.1.1
      pipeline-maven:3.10.0
      jenkins-design-language:1.24.7
      lockable-resources:2.11
      workflow-cps:2.92
      last-changes:2.7.10
      emailext-template:1.2
      run-condition:1.5
      branch-api:2.6.4
      workflow-step-api:2.23
      apache-httpcomponents-client-4-api:4.5.13-1.0
      gitlab-plugin:1.5.20
      pubsub-light:1.14
      script-security:1.77
      credentials:2.5
      blueocean-jwt:1.24.7
      blueocean-rest-impl:1.24.7
      email-ext-recipients-column:1.0
      caffeine-api:2.9.1-23.v51c4e2c879c8
      workflow-basic-steps:2.23
      jjwt-api:0.11.2-9.c8b45b8bb173
      bootstrap4-api:4.6.0-3
      jquery:1.12.4-1
      handlebars:3.0.8
      ssh-slaves:1.31.5
      gitlab-branch-source:1.5.7
      credentials-binding:1.25
      role-strategy:3.1.1
      structs:1.23
      conditional-buildstep:1.4.1
      ace-editor:1.1
      windows-slaves:1.8
      plugin-util-api:2.3.0
      jackson2-api:2.12.3
      blueocean-pipeline-api-impl:1.24.7
      jquery3-api:3.6.0-1
      jdk-tool:1.5
      delivery-pipeline-plugin:1.4.2
      multi-slave-config-plugin:1.2.0
      thinBackup:1.10
      msbuild:1.30
      blueocean-git-pipeline:1.24.7
      plain-credentials:1.7
      pipeline-model-extensions:1.8.5
      durable-task:1.37
      cloudbees-folder:6.15
      scm-api:2.6.4
      git:4.7.2
      jsch:0.1.55.2
      checks-api:1.7.0
      pipeline-milestone-step:1.3.2
      external-monitor-job:1.7
      workflow-job:2.41
      workflow-durable-task-step:2.39
      email-ext:2.83
      token-macro:2.15
      ssh-agent:1.22
      workflow-scm-step:2.12
      gitlab-api:1.0.6
      h2-api:1.4.199
      variant:1.4
      git-changelog:3.8
      maven-plugin:3.11
      popper-api:1.16.1-2
      favorite:2.3.3
      pipeline-stage-tags-metadata:1.8.5
      javadoc:1.6
      subversion:2.14.2
      git-parameter:0.9.13
      gitlab-merge-request-jenkins:2.0.0
      pam-auth:1.6
      github:1.33.1
      resource-disposer:0.15
      ivy:2.1
      mailer:1.34
      git-server:1.9
      pipeline-build-step:2.13
      snakeyaml-api:1.27.0
      ldap:2.7
      jaxb:2.3.0.1
      workflow-support:3.8
      okhttp-api:3.14.9
      trilead-api:1.0.13
      handy-uri-templates-2-api:2.1.8-1.0
      pipeline-stage-step:2.5
      blueocean-pipeline-scm-api:1.24.7
      ssh-credentials:1.18.1
      parameterized-trigger:2.40
      matrix-project:1.18
      blueocean-core-js:1.24.7
      font-awesome-api:5.15.3-2
      kubernetes-client-api:5.4.1
      authentication-tokens:1.4
      kubernetes-credentials:0.9.0
      metrics:4.0.2.8
      kubernetes:1.30.0
      docker-commons:1.17
      docker-java-api:3.1.5.2
      docker-plugin:1.2.2
      cors-filter:1.1

        Attachments

          Activity

          Hide
          markewaite Mark Waite added a comment - - edited

          I can't duplicate the problem as you've described it. Steps I took while trying to duplicate the issue:

          1. Write the list of plugins to a plugins.txt file
          2. Download the plugins with the command java -jar ../jenkins-plugin-manager-2.9.2.jar --jenkins-version 2.277.4 --latest false --plugin-download-directory plugins --plugin-file plugins.txt
          3. Run Jenkins 2.277.4 with the command JENKINS_HOME=. java -jar ../jenkins-2.277.4.war
          4. Choose to install no additional plugins in the installation wizard
          5. Confirm that many of the plugins in the list have new updates available that have not been installed
          6. Create a parameterized Freestyle job that takes a boolean parameter, save the job configuration
          7. Edit the job configuration and save it
          8. Edit the parameterized Freestyle job and add a choice parameter, a credentials parameter, and a string parameter
          9. Confirm that the Freestyle job can be saved

          Those steps all behaved as expected.

          You'll need to provide more details of the type of parameters in the job that is failing to save and the cases where it consistently fails to save.

          Show
          markewaite Mark Waite added a comment - - edited I can't duplicate the problem as you've described it. Steps I took while trying to duplicate the issue: Write the list of plugins to a plugins.txt file Download the plugins with the command java -jar ../jenkins-plugin-manager-2.9.2.jar --jenkins-version 2.277.4 --latest false --plugin-download-directory plugins --plugin-file plugins.txt Run Jenkins 2.277.4 with the command JENKINS_HOME=. java -jar ../jenkins-2.277.4.war Choose to install no additional plugins in the installation wizard Confirm that many of the plugins in the list have new updates available that have not been installed Create a parameterized Freestyle job that takes a boolean parameter, save the job configuration Edit the job configuration and save it Edit the parameterized Freestyle job and add a choice parameter, a credentials parameter, and a string parameter Confirm that the Freestyle job can be saved Those steps all behaved as expected. You'll need to provide more details of the type of parameters in the job that is failing to save and the cases where it consistently fails to save.
          Hide
          shailender123 shailender added a comment -

          Hi Mark,

          Thanks for your reply. I had it working by running Jenkins 2.283. Now, I am able to save the job configuration for all types of projects.

          Show
          shailender123 shailender added a comment - Hi Mark, Thanks for your reply. I had it working by running Jenkins 2.283. Now, I am able to save the job configuration for all types of projects.
          Hide
          markewaite Mark Waite added a comment -

          Jetty upgrade likely resolved the issue

          Show
          markewaite Mark Waite added a comment - Jetty upgrade likely resolved the issue

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            shailender123 shailender
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: