Skip to content

Commit

Permalink
Merge pull request #9 from Marichandran/Marichandran-patch-6
Browse files Browse the repository at this point in the history
Update blank.yml
  • Loading branch information
Marichandran authored Nov 29, 2022
2 parents e1b2ffd + 3c6f085 commit 5076c73
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
PR_EVENT: ${{ github.event.action }}
PR_URL: https://github.com/${{github.repository}}/pull/${{ github.event.pull_request.number }}
PR_LABEL: ${{ github.event.label.name }}
BUILDTOKEN: vmmanager
BUILDTOKEN: test_vmmanager
JENKINS_URL: https://cbjenkins-ba.devtools.intel.com/teams-satg-aee-android-ci/generic-webhook-trigger/invoke?token=

jobs:
Expand All @@ -30,8 +30,14 @@ jobs:
echo The TOKEN is ${{ inputs.PR_LABEL }}

- name: Trigger Jenkins Build with PR Information
run:
echo ${{ inputs.JENKINS_URL }}${{ inputs.BUILDTOKEN }}
echo ${{ inputs.PR_EVENT }}
echo ${{ inputs.PR_URL }}
run: |-
--location --request POST ${{ inputs.JENKINS_URL }}${{ inputs.BUILDTOKEN }} \
--header 'Content-Type: application/json' \
--data-raw '{
"action": ${{ inputs.PR_EVENT }} ,
"pull_request": {
"html_url": ${{ inputs.PR_URL }}
}
}'

0 comments on commit 5076c73

Please sign in to comment.