Skip to content

workflows: Add Intel CI Jenkins trigger job #15

workflows: Add Intel CI Jenkins trigger job

workflows: Add Intel CI Jenkins trigger job #15

---
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:
launch_jenkins_job:
runs-on: [intel-ci]
steps:
- name: Set env
run:
echo "INTEL_JENKINS_USER=$(echo $INTEL_JENKINS_USER)" >> $GITHUB_ENV
echo "INTEL_JENKINS_BASE_URL=$(echo $INTEL_JENKINS_BASE_URL)" >> $GITHUB_ENV
source /home/${INTEL_JENKINS_USER}/get_login.sh
echo "PAM_RESULTS=$(echo $PAM_RESULTS)" >> $GITHUB_ENV
- name: Trigger Intel Jenkins Job
run:
curl -X POST -u ${{ env.INTEL_JENKINS_USER }}:${{ env.PAM_RESULTS }} ${{ INTEL_JENKINS_BASE_URL }}/job/OFIWG_Libfabric/job/ofi_libfabric/view/change-requests/job/PR-${{ github.event.number }}/build?delay=61sec

Check failure on line 26 in .github/workflows/intel_ci_trigger.yml

View workflow run for this annotation

GitHub Actions / Intel CI

Invalid workflow file

The workflow is not valid. .github/workflows/intel_ci_trigger.yml (Line: 26, Col: 11): Unrecognized named-value: 'INTEL_JENKINS_BASE_URL'. Located at position 1 within expression: INTEL_JENKINS_BASE_URL