org.jfrog.build.extractor
Interface BuildInfoExtractor<C,O>


public interface BuildInfoExtractor<C,O>

-DbuildInfo.property.name=value -DbuildInfo.deploy.property.name=value (becomes a matrix param in the current impl) and - -DbuildInfo.propertiesFile=/path/to/file (contains the above properties without the buildInfo prefix)


Method Summary
 O extract(C buildInfoTask)
           Collect the props (from -D props and the props supplied in the BuildInfoConfigProperties.PROP_PROPS_FILE file.

Collect published artifacts and dependency artifacts produced/used by the underlying build technology, based on the context.

Export the collected buildInfo according to the type of output O supplied (typically to a file)

 

Method Detail

extract

O extract(C buildInfoTask)
  1. Collect the props (from -D props and the props supplied in the BuildInfoConfigProperties.PROP_PROPS_FILE file.
  2. Collect published artifacts and dependency artifacts produced/used by the underlying build technology, based on the context.
  3. Export the collected buildInfo according to the type of output O supplied (typically to a file)

Parameters:
buildInfoTask -
Returns:
A handle for the exported buildInfo (typically, the path of the exported file)