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

REGRESSION: Unable to save branch with editor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • blueocean-plugin
    • None
    • Blue Ocean 1.3

      Hey Keith - I noticed the ATH started failing in the same place in a lot of branches all at once, when it was failing. I looked at the screen shot and saw it was failing to save to a new branch in github in a live test. 

      I reproduced this locally with the ATH, but then also with mvn hpi:run.

      Can only save back to the master branch it seems, but not a new branch. I don't think there have been any code changes related to this. 

       

      I can even reproduce this with mvn hpi:run: I just add a pipeline and open it in editor, try to save to a new branch and: 

       

      {
      "message" : "Failed to save file: Failed to deserialize {\"name\":\"master\",\"commit\":{\"sha\":\"40ab0f429777987218b42139d93904e27100a365\",\"commit\":{\"author\":{\"name\":\"Michael Neale\",\"email\":\"michael.neale@gmail.com\",\"date\":\"2017-09-07T07:12:39Z\"},\"committer\":{\"name\":\"Michael Neale\",\"email\":\"michael.neale@gmail.com\",\"date\":\"2017-09-07T07:12:39Z\"},\"message\":\"Added Jenkinsfile\",\"tree\":{\"sha\":\"4dbe9dddfc0a2f7713e47f85a68bdc5506d3eb0b\",\"url\":\"https://api.github.com/repos/multibranchorg/justreadme/git/trees/4dbe9dddfc0a2f7713e47f85a68bdc5506d3eb0b\"},\"url\":\"https://api.github.com/repos/multibranchorg/justreadme/git/commits/40ab0f429777987218b42139d93904e27100a365\",\"comment_count\":0},\"url\":\"https://api.github.com/repos/multibranchorg/justreadme/commits/40ab0f429777987218b42139d93904e27100a365\",\"html_url\":\"https://github.com/multibranchorg/justreadme/commit/40ab0f429777987218b42139d93904e27100a365\",\"comments_url\":\"https://api.github.com/repos/multibranchorg/justreadme/commits/40ab0f429777987218b42139d93904e27100a365/comments\",\"author\":{\"login\":\"michaelneale\",\"id\":14976,\"avatar_url\":\"https://avatars0.githubusercontent.com/u/14976?v=4\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/michaelneale\",\"html_url\":\"https://github.com/michaelneale\",\"followers_url\":\"https://api.github.com/users/michaelneale/followers\",\"following_url\":\"https://api.github.com/users/michaelneale/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/michaelneale/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/michaelneale/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/michaelneale/subscriptions\",\"organizations_url\":\"https://api.github.com/users/michaelneale/orgs\",\"repos_url\":\"https://api.github.com/users/michaelneale/repos\",\"events_url\":\"https://api.github.com/users/michaelneale/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/michaelneale/received_events\",\"type\":\"User\",\"site_admin\":false},\"committer\":{\"login\":\"michaelneale\",\"id\":14976,\"avatar_url\":\"https://avatars0.githubusercontent.com/u/14976?v=4\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/michaelneale\",\"html_url\":\"https://github.com/michaelneale\",\"followers_url\":\"https://api.github.com/users/michaelneale/followers\",\"following_url\":\"https://api.github.com/users/michaelneale/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/michaelneale/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/michaelneale/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/michaelneale/subscriptions\",\"organizations_url\":\"https://api.github.com/users/michaelneale/orgs\",\"repos_url\":\"https://api.github.com/users/michaelneale/repos\",\"events_url\":\"https://api.github.com/users/michaelneale/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/michaelneale/received_events\",\"type\":\"User\",\"site_admin\":false},\"parents\":[{\"sha\":\"27628c92830ed93055416c86bdaa349a163173ed\",\"url\":\"https://api.github.com/repos/multibranchorg/justreadme/commits/27628c92830ed93055416c86bdaa349a163173ed\",\"html_url\":\"https://github.com/multibranchorg/justreadme/commit/27628c92830ed93055416c86bdaa349a163173ed\"}]},\"_links\":{\"self\":\"https://api.github.com/repos/multibranchorg/justreadme/branches/master\",\"html\":\"https://github.com/multibranchorg/justreadme/tree/master\"},\"protected\":false,\"protection\":{\"enabled\":false,\"required_status_checks\":{\"enforcement_level\":\"off\",\"contexts\":[]}},\"protection_url\":\"https://api.github.com/repos/multibranchorg/justreadme/branches/master/protection\"}",
      "code" : 500,
      "errors" : [ ]
      }

            vivek Vivek Pandey
            michaelneale Michael Neale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: