•  
      request #21765 Tuleap PR autonotification notify the git repository with a inexistent SHA-1
    Infos
    #21765
    Clarck Robinson (robinsoc)
    2022-06-22 16:11
    2021-06-04 11:48
    23350
    Details
    Tuleap PR autonotification notify the git repository with a inexistent SHA-1

    The following case:

    • Repository A contains a Jenkinsfile which contains the instruction to checkout the repository B. => When Jenkins will checkout the repository B, the plugin will try to sent a notification to the repository A with the last commit hash of the repository B, which it leads to an error.

    It can be explained by the fact that the plugin will send a notification whenever a checkout is done, there is no repository check while it should only ever notify the repository that is the origin of the job trigger.

    Update: It is explained by the fact the plugin relies on the GitBuildData to retrieve the commit SHA-1, however we can have several GitBuildData for a same build.

    Jenkins Branch Source plugin
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Clarck Robinson (robinsoc)
    Closed
    2022-06-10
    Attachments
    Empty
    References
    Referenced by request #21765

    Artifact Tracker v5

    rel #25714 13.10

    Follow-ups

    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Summary
      -Tuleap PR autonotification notify the wrong git repository 
      +Tuleap PR autonotification notify the git repository with a inexistent SHA-1 
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes