mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 23:50:03 -06:00
908e8cf338
The distros may use different sphinx builder paths, for example, by exporting of SPHINXBUILD env var. Signed-off-by: Stanislav Levin <slev@altlinux.org> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
21 lines
755 B
YAML
21 lines
755 B
YAML
parameters:
|
|
artifactName: ''
|
|
targetPath: ''
|
|
displayName: ''
|
|
|
|
steps:
|
|
- script: |
|
|
set -e
|
|
ARTIFACT_NAME="${{ parameters.artifactName }}-$(Build.BuildId)-$(System.StageAttempt)-$(System.PhaseAttempt)-$(Agent.OS)-$(Agent.OSArchitecture)"
|
|
|
|
echo "Artifact name: '${ARTIFACT_NAME}'"
|
|
echo "##vso[task.setvariable variable=${{ parameters.artifactName }};isOutput=true]${ARTIFACT_NAME}"
|
|
name: artifacts_${{ parameters.artifactName }}
|
|
displayName: Generate unique artifact name for ${{ parameters.artifactName }}
|
|
|
|
- task: PublishPipelineArtifact@1
|
|
inputs:
|
|
artifactName: $(artifacts_${{ parameters.artifactName }}.${{ parameters.artifactName }})
|
|
targetPath: ${{ parameters.targetPath }}
|
|
displayName: ${{ parameters.displayName }}
|