Rerun build with same revision

Hello!
How can I programmatically restart a build with the same revision? I try to connect jetbrains.buildServer.serverSide.BuildPromotion # getRevisions and jetbrains.buildServer.serverSide.BuildCustomizer # setChangesUpTo, but it's not working out

Please sign in to leave a comment.