diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index 16b828a..c708e80 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -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: @@ -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 }} + } + }' +