use of org.jfrog.build.extractor.clientConfiguration.client.distribution.types.ReleaseNotes in project build-info by JFrogDev.
the class DistributionManagerTest method createRequestBuilder.
CreateReleaseBundleRequest.Builder createRequestBuilder() throws IOException {
FileSpec fileSpec = createSpec();
ReleaseNotes releaseNotes = new ReleaseNotes();
releaseNotes.setContent("Create content");
releaseNotes.setSyntax(ReleaseNotes.Syntax.plain_text);
return new CreateReleaseBundleRequest.Builder(RELEASE_BUNDLE_NAME, RELEASE_BUNDLE_VERSION).description("Create").releaseNotes(releaseNotes).spec(fileSpec);
}
use of org.jfrog.build.extractor.clientConfiguration.client.distribution.types.ReleaseNotes in project build-info by JFrogDev.
the class DistributionManagerTest method updateRequestBuilder.
UpdateReleaseBundleRequest.Builder updateRequestBuilder() throws IOException {
FileSpec fileSpec = createSpec();
ReleaseNotes releaseNotes = new ReleaseNotes();
releaseNotes.setContent("Update content");
releaseNotes.setSyntax(ReleaseNotes.Syntax.plain_text);
return new UpdateReleaseBundleRequest.Builder().description("Update").releaseNotes(releaseNotes).spec(fileSpec);
}
Aggregations