The current thread context must have {@link hudson.model.Run#UPDATE}permission to perform this operation. @param project the project to the build belongs to @param buildNumber the buildNumber to operate on which must be{@literal >} zero @param release false to keep the build, true to release @throws BuildNotFoundException if a build with the buildNumber could notbe found @throws ServiceRuntimeException if an unexpected condition prevents buildkeep or release
|
|
|
|