Skip to content

Commit

Permalink
REKDAT-158: Access secrets through environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
bzar committed Oct 2, 2024
1 parent f80bd17 commit dfeee0a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,12 @@ jobs:
- name: upload robot test results to XRay
if: always()
shell: bash
env:
JIRA_ACCESS_TOKEN: ${{ secrets.JIRA_ACCESS_TOKEN }}
JIRA_URL: ${{ secrets.JIRA_URL }}
JIRA_PROJECT_ID: ${{ secrets.JIRA_PROJECT_ID }}
run: |
curl -H "Authorization: Bearer ${{ secrets.JIRA_ACCESS_TOKEN }}" -F file=@results/output.xml "${{ secrets.JIRA_URL }}/rest/raven/1.0/import/execution/robot?projectKey=${{ secrets.JIRA_PROJECT_ID }}"
curl -H "Authorization: Bearer ${JIRA_ACCESS_TOKEN}" -F file=@results/output.xml "${JIRA_URL}/rest/raven/1.0/import/execution/robot?projectKey=${JIRA_PROJECT_ID}"
- name: upload robot test result artifacts
if: always()
Expand Down

0 comments on commit dfeee0a

Please sign in to comment.