Skip to content

workflows: Add Intel CI Jenkins trigger job #2

workflows: Add Intel CI Jenkins trigger job

workflows: Add Intel CI Jenkins trigger job #2

---
name: 'Intel CI'
on:
workflow_dispatch:
pull_request:
branches:
- '**'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
Auto-Update:
runs-on: intel-ci
steps:
- name: auto-update
uses: tibdex/auto-update@v2
launch_jenkins_job:
runs-on: [intel-ci]
steps:
- name: Harden-Runner
uses: step-security/[email protected]
- name: Trigger Jenkins Job
run: |
source /home/${{ secrets.INTEL_JENKINS_USER }}/get_login.sh
curl -X POST -u ${{ secrets.INTEL_JENKINS_USER }}:${{ env.PAM_RESULTS }} ${{ secrets.INTEL_JENKINS_BASE_URL }}/job/OFIWG_Libfabric/job/ofi_libfabric/view/change-requests/job/PR-${{ github.event.number }}/build?delay=61sec