Skip to content

Commit

Permalink
Added workflow for vm_manager ci
Browse files Browse the repository at this point in the history
Signed-off-by: sjshweta <shweta.joshi@intel.com>
  • Loading branch information
sjshweta committed Feb 7, 2023
1 parent 0c02830 commit bdf0637
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/issue-closed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Run VM-MANAGER-RELEASE-FLOW

on:
issues:
types:
- closed
branches: "**"

env:
EVENT_CONTEXT: ${{ toJSON(github.event) }}
BUILDTOKEN: test_vmmanagermerge
JENKINS_URL: https://cbjenkins-ba.devtools.intel.com/teams-satg-aee-android-ci/generic-webhook-trigger/invoke?token=

jobs:
If_IssueClosed:
runs-on: self-hosted
steps:
- name: Trigger Jenkins VM Manager Merge job
run: |-
curl --location --request POST ${{ env.JENKINS_URL }}${{ env.BUILDTOKEN }} \
--header 'Content-Type: application/json' \
--data-raw '{
"action": ${{ env.EVENT_CONTEXT }}
}'

0 comments on commit bdf0637

Please sign in to comment.