Fix rocm_ci_caller
이 커밋은 다음에 포함됨:
@@ -43,7 +43,9 @@ jobs:
|
||||
fi
|
||||
done < changed_files.txt
|
||||
|
||||
echo "##vso[task.setvariable variable=match_found]$MATCH_FOUND"
|
||||
echo "Match found: $MATCH_FOUND"
|
||||
echo "##vso[task.setvariable variable=match_found;isOutput=true]$MATCH_FOUND"
|
||||
name: detectChanges
|
||||
displayName: Detect path changes
|
||||
|
||||
- job: Trigger_Pipeline
|
||||
@@ -51,10 +53,12 @@ jobs:
|
||||
dependsOn: Determine_Changes
|
||||
condition: succeeded()
|
||||
pool: rocm-ci-caller
|
||||
variables:
|
||||
match_found: $[ dependencies.Determine_Changes.outputs['detectChanges.match_found'] ]
|
||||
steps:
|
||||
- checkout: none
|
||||
|
||||
- ${{ if eq(dependencies.Determine_Changes.outputs['Determine_Changes.match_found'], 'true') }}:
|
||||
- ${{ if eq(variables.match_found, 'true') }}:
|
||||
- script: |
|
||||
rm -rf $(repo_name)
|
||||
git clone $(gh_repo)
|
||||
@@ -86,7 +90,7 @@ jobs:
|
||||
env:
|
||||
svc_acc_org_secret: $(svc_acc_org_secret)
|
||||
|
||||
- ${{ if ne(dependencies.Determine_Changes.outputs['Determine_Changes.match_found'], 'true') }}:
|
||||
- ${{ if ne(variables.match_found, 'true') }}:
|
||||
- script: |
|
||||
echo "Changes outside monitored paths. Skipping Jenkins trigger."
|
||||
echo "Sending success status for PSDB..."
|
||||
|
||||
새 이슈에서 참조
사용자 차단