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

Creating pipeline results in "Not Found" on saving pipeline

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Windows Server 2016 Standard x64
      JDK 1.8.0_131
      Jenkins 2.67 w/no container installed via Windows installer
      Chrome 59.0.3071.115
    • Blue Ocean 1.2-beta2, Blue Ocean 1.2-beta3, Blue Ocean 1.2-beta4, Blue Ocean 1.2, Blue Ocean 1.3, Blue Ocean - Candidates

      Problem
      Pipeline creation process offers to create Pipelines for repositories where the user does not have write access to the repository.

      This results in a "Not found" error on save, as Github will pretend a resources is not found when it is actually forbidden to access it.

      It is unknown what Bitbucket will do in this case but we need to investigate in order to make them both consistent.

      Scope

      • This ticket should take into account both Bitbucket and Github based pipeline creation flows.
      • When editing a pipeline, we need to validate on save that the user can edit the pipeline before attempting to upload content.
      • In the completed step of the pipeline flow, we need to show an error step with the message "You do not have push access to $ower/$repository. Jenkins requires push access to upload a <i>Jenkinsfile</i> to your repository."
        • No "create" button for this scenario

      Original request
      Tried following simple tutorial at https://www.cloudbees.com/blog/getting-started-blue-oceans-visual-pipeline-editor and am unable to save even the very first minimalist pipeline example. Error message "Error   Not Found" received trying to save committing to both master branch and new branch.

            Unassigned Unassigned
            mgressman Michael Gressman
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: