• Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major Major
    • blueocean-plugin
    • None

      Thanks to the work in JENKINS-41397 we can now detect more errors during the initial REST API call to create a pipeline from Git. We should enhance the UI as follows:

      1. Error 403 w/ code: INVALID and field: scmConfig.credentialId should present an error message related to the selected credential.
      2. Error 400 w/ code: INVALID and field: scmConfig.uri should present an error next to the repository URL field.
      3. Error 403 w/ general message about access denied is probably related to using a URL w/ HTTPS protocol instead of Git. May want to display a more generic error message.

          [JENKINS-41597] Git Creation flow eager validation in UI

          Cliff Meyers created issue -
          Cliff Meyers made changes -
          Epic Link New: JENKINS-36588 [ 172614 ]
          Cliff Meyers made changes -
          Link New: This issue is blocked by JENKINS-41397 [ JENKINS-41397 ]
          Cliff Meyers made changes -
          Link New: This issue is related to JENKINS-41954 [ JENKINS-41954 ]
          James Dumay made changes -
          Sprint New: up next [ 171 ]
          James Dumay made changes -
          Rank New: Ranked higher
          James Dumay made changes -
          Sprint Original: up next [ 171 ] New: 1.0 [ 221 ]
          James Dumay made changes -
          Rank New: Ranked higher
          James Dumay made changes -
          Rank New: Ranked higher
          James Dumay made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          Ivan Meredith made changes -
          Assignee Original: Cliff Meyers [ cliffmeyers ] New: Ivan Meredith [ imeredith ]

            Unassigned Unassigned
            cliffmeyers Cliff Meyers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: