checkout the same revision that triggered the pipeline when doing the commit stage.