WS.SCS.commitFileContents()

Signature

void commitFileContents(String scsIntegrationType, String repoRootURL, String projectName, String artifactPath, String artifactExtn, Object artifactContents, String commitComments, Long revisionId)

Domain

Description

Writes contents of artifact of a managed project to SCS/Filesystem

Parameters

NameTypeDescription
scsIntegrationTypeStringThe type of SCS integration
repoRootURLStringBase repo URL for the source control system.
projectNameStringThe project path whose artifacts' contents are to be fetched.
artifactPathStringThe FQN of the artifact whose contents are to be retrieved.
artifactExtnStringThe extension of the artifact.
artifactContentsObjectThe byte[] of the artifact to be committed.
commitCommentsStringComments associated with this change
revisionIdLongRevision Id associated to this change

Returns

TypeDescription
void