@broadcom/endevor-bridge-for-git-rest-api
Version:
Endevor Bridge for Git Rest client
15 lines (14 loc) • 399 B
JavaScript
import { JobsAction } from "./JobsAction";
import { RequestMethod } from "../AbstractRequest";
export class ForceRefresh extends JobsAction {
constructor(context, repository, branch) {
super();
this.customPath = "/forceRefresh";
this.method = RequestMethod.POST;
this.payload = {
context,
repository,
branch
};
}
}