Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/blazemeter-evidence-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,5 @@ jobs:
--key-alias "${{ secrets.PRIVATE_KEY_ALIAS }}" \
--predicate "blazemeter-predicate.json" \
--predicate-type "http://blazemeter.com/performance-results/v1" \
--provider-id "blazemeter" \
${{ env.ATTACH_OPTIONAL_MARKDOWN_TO_EVIDENCE == 'true' && '--markdown "blazemeter-results.md"' || '' }}
1 change: 1 addition & 0 deletions .github/workflows/cypress-evidence-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,5 @@ jobs:
--key-alias "${{ secrets.PRIVATE_KEY_ALIAS }}" \
--predicate "reports/overall-report.json" \
--predicate-type "http://cypress.io/test-results/v1" \
--provider-id "cypress" \
${{ env.ATTACH_OPTIONAL_MARKDOWN_TO_EVIDENCE == 'true' && '--markdown "reports/cypress-results.md"' || '' }}
1 change: 1 addition & 0 deletions .github/workflows/jira-evidence-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,6 @@ jobs:
--key-alias "${{ vars.EVIDENCE_KEY_ALIAS }}" \
--predicate ./examples/jira/helper/transformed_jira_data.json \
--predicate-type http://atlassian.com/jira/issues/v1 \
--provider-id "jira" \
${{ env.ATTACH_OPTIONAL_CUSTOM_MARKDOWN_TO_EVIDENCE == 'true' && '--markdown "examples/jira/helper/transformed_jira_data.md"' || '' }}

1 change: 1 addition & 0 deletions .github/workflows/junit-evidence-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ jobs:
--key-alias "${{ vars.EVIDENCE_KEY_ALIAS }}" \
--predicate ./target/consolidated-test-report.json \
--predicate-type https://jfrog.com/evidence/junit-test-results/v1 \
--provider-id "junit" \
${{ env.ATTACH_OPTIONAL_CUSTOM_MARKDOWN_TO_EVIDENCE == 'true' && '--markdown "junit-results.md"' || '' }}
else
echo "No test results found to attach as evidence"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/testRail-evidence-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,5 @@ jobs:
--key-alias "${{ secrets.PRIVATE_KEY_ALIAS }}" \
--predicate "reports/overall-report.json" \
--predicate-type "http://testrail.com/test-results" \
--provider-id "testrail" \
${{ env.ATTACH_OPTIONAL_MARKDOWN_TO_EVIDENCE == 'true' && '--markdown "reports/results.md"' || '' }}
1 change: 1 addition & 0 deletions examples/blazemeter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ Once the workflow completes successfully, you can navigate to your repository in
--key-alias "$PRIVATE_KEY_ALIAS" \
--predicate "blazemeter-predicate.json" \
--predicate-type "http://blazemeter.com/performance-results/v1" \
--provider-id "blazemeter" \
${{ env.ATTACH_OPTIONAL_MARKDOWN_TO_EVIDENCE == 'true' && '--markdown "blazemeter-results.md"' || '' }}
```

Expand Down
1 change: 1 addition & 0 deletions examples/cypress/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ This final step uses `jf evd create` to attach the test results to the Docker im
--key-alias "${{ secrets.PRIVATE_KEY_ALIAS }}" \
--predicate "reports/overall-report.json" \
--predicate-type "http://cypress.io/test-results/v1" \
--provider-id "cypress" \
[--markdown "reports/cypress-results.md"]
```
The --markdown flag is included only if ATTACH_OPTIONAL_MARKDOWN_TO_EVIDENCE is set to true.
Expand Down
2 changes: 2 additions & 0 deletions examples/jenkins-provenance/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ pipeline {
MARKDOWN_FILE_NAME = 'JenkinsSLSA.md'
PREDICATE_FILE_NAME = '${PROJECT_WORKING_DIR}/predicate.json'
PREDICATE_TYPE = 'http://slsa.dev/provenance/v1'
PROVIDER_ID = 'jenkins'
}
stages {
stage('Checkout') {
Expand Down Expand Up @@ -65,6 +66,7 @@ pipeline {
--key-alias ${KEY_ALIAS} \
--predicate ${PREDICATE_FILE_NAME} \
--predicate-type ${PREDICATE_TYPE} \
--provider-id ${PROVIDER_ID} \
--markdown ${MARKDOWN_FILE_NAME}'
}
}
Expand Down
1 change: 1 addition & 0 deletions examples/jira/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ jf evd create \
--key-alias "${{ vars.EVIDENCE_KEY_ALIAS }}" \
--predicate ./examples/jira/helper/transformed_jira_data.json \
--predicate-type http://atlassian.com/jira/issues/v1 \
--provider-id "jira" \
${{ env.ATTACH_OPTIONAL_CUSTOM_MARKDOWN_TO_EVIDENCE == 'true' && '--markdown "examples/jira/helper/transformed_jira_data.md"' || '' }}
```

Expand Down
1 change: 1 addition & 0 deletions examples/junit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ jf evd create \
--key-alias "${{ vars.EVIDENCE_KEY_ALIAS }}" \
--predicate ./target/consolidated-test-report.json \
--predicate-type http://junit.org/test-results \
--provider-id "junit" \
--markdown "junit-results.md"
```

Expand Down
1 change: 1 addition & 0 deletions examples/testRail/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ You can trigger the workflow manually from the GitHub Actions tab. The workflow
--key-alias "${{ secrets.PRIVATE_KEY_ALIAS }}" \
--predicate "reports/overall-report.json" \
--predicate-type "http://testrail.com/test-results" \
--provider-id "testrail" \
[--markdown "reports/results.md"]
```
The --markdown flag is included only if ATTACH_OPTIONAL_MARKDOWN_TO_EVIDENCE is set to true.
Expand Down