• Evergreen - Milestone 1

      ViewTest#renameJob is failing because it can not find the name element see here

      The issue seems to be the name field being removed in most recent versions of Jenkins (apparently substituted by the Display Name field in the Advanced section)

      See the screenshot I have reproduced manually with 2.110, but not sure yet if this is intentional or a bug

          [JENKINS-50023] core.ViewTest#renameJob is failling in CI

          Devin Nusbaum added a comment - - edited

          All Jobs have a name and a display name before and after the change. Previously, both the name and display name could be edited from the configure page. In JENKINS-22936 I removed the ability to change the name from the configure page, and moved it to a separate page (feel free to read the ticket for the motivation behind the change). The display name can still be edited on the configure page.

          All of the ATH code that does renames will have to be updated to use the new flow. I can submit a PR to fix the case you pointed out here, but I am not sure how many other tests will need to be updated.

          Devin Nusbaum added a comment - - edited All Jobs have a name and a display name before and after the change. Previously, both the name and display name could be edited from the configure page. In JENKINS-22936 I removed the ability to change the name from the configure page, and moved it to a separate page (feel free to read the ticket for the motivation behind the change). The display name can still be edited on the configure page. All of the ATH code that does renames will have to be updated to use the new flow. I can submit a PR to fix the case you pointed out here, but I am not sure how many other tests will need to be updated.

          Thanks @dnusbaum I can fix it without problems, your confirmation on this being intentional is the only think I need.

          Raul Arabaolaza added a comment - Thanks @dnusbaum I can fix it without problems, your confirmation on this being intentional is the only think I need.

          Devin Nusbaum added a comment -

          rarabaolaza Ok, thank you! Feel free to request me as a reviewer on anything.

          Devin Nusbaum added a comment - rarabaolaza Ok, thank you! Feel free to request me as a reviewer on anything.

          PR already approved, waiting for merge

          Raul Arabaolaza added a comment - PR already approved, waiting for merge

          Code changed in jenkins
          User: Raul Arabaolaza
          Path:
          src/main/java/org/jenkinsci/test/acceptance/po/TopLevelItem.java
          http://jenkins-ci.org/commit/acceptance-test-harness/f18d77a684925e40b80a1498fec9da576f7b79c2
          Log:
          JENKINS-50023 Fix `TopLevelItem#renameTo` after JENKINS-22936

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Raul Arabaolaza Path: src/main/java/org/jenkinsci/test/acceptance/po/TopLevelItem.java http://jenkins-ci.org/commit/acceptance-test-harness/f18d77a684925e40b80a1498fec9da576f7b79c2 Log: JENKINS-50023 Fix `TopLevelItem#renameTo` after JENKINS-22936

          Code changed in jenkins
          User: Raul Arabaolaza
          Path:
          src/main/java/org/jenkinsci/test/acceptance/po/TopLevelItem.java
          http://jenkins-ci.org/commit/acceptance-test-harness/576f8c9e907063f751181b755019c65c71576b79
          Log:
          JENKINS-50023 Keep the existing behavior for previous jenkins versions

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Raul Arabaolaza Path: src/main/java/org/jenkinsci/test/acceptance/po/TopLevelItem.java http://jenkins-ci.org/commit/acceptance-test-harness/576f8c9e907063f751181b755019c65c71576b79 Log: JENKINS-50023 Keep the existing behavior for previous jenkins versions

            rarabaolaza Raul Arabaolaza
            rarabaolaza Raul Arabaolaza
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: