SKETCH: add step for getting properties#943
Conversation
Add a groovy script step to fetch custom properties from Artifactory.
This provides Artifactory users with access to their additional
metadata associated with artifacts stored in Artifactory, and allows
pipelines to make decisions based on that metadata.
This is called roughly as:
```
artifactory = newArtifactoryServer( ARGS )
def props = artifactoryGetProps(
server: artifactory,
relativePath: "PATH/TO/ARTIFACT"
propertyKeys: ['PROPA', 'PROPB']
)
```
Signed-off-by: Eero Aaltonen <eero.aaltonen@vaisala.com>
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
|
@eaaltonen, |
|
@eyalbe4: there is an issue that is preventing us from switching to the JFrog Jenkins plugin at this point. I've opened an issue via another channel. If I split the parts from this PR that belong to build-info to a separate PR, would you be open to accepting them while the other issue is resolved? |
Add a groovy script step to fetch custom properties from Artifactory.
This provides Artifactory users with access to their additional metadata associated with artifacts stored in Artifactory, and allows pipelines to make decisions based on that metadata.
This is called roughly as: