psi-transfer-build-artifact
Uploads/Pubplises an build artifact to a psiShare host.
Features
- Uploads a singl artifact file to a psiShare endpoint / host
- generates a
Usage
The following example demonstrates the usage of PsiTransferBuildArtifact@1 in release pipeline:
steps:
- task: PsiTransferBuildArtifact@1
displayName: Publish Artifact to psiTransfer
inputs:
endpoint: 'https://transfer.example.com'
withPassphrase: true
pathToPublish: '$(Build.ArtifactStagingDirectory)/Artifact.zip'
exportsUploadUriTo: 'PsiTransferUri' # optional
exportsPassphraseTo: 'PsiTransferPassphrase' #optional
exportsProtectedUploadUriTo: 'PsiProtectedTransferUri' # optional
retention: '2w' #otional, Uses parse-duration to convert intputs
passphraseLenght: '32' #optional,
| |