-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7088ee5
commit de59472
Showing
2 changed files
with
31 additions
and
22 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Jenkins Internal | ||
run-name: E2E Tests | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
status: | ||
type: string | ||
default: "FAILURE" | ||
message: | ||
type: string | ||
default: "Jenkins pipeline failed" | ||
tgVersion: | ||
type: string | ||
default: '' | ||
|
||
jobs: | ||
jenkins-e2e-tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Pipeline Status | ||
run: | | ||
echo "### Running E2E for version: ${{ github.event.inputs.tgVersion }}" >> $GITHUB_STEP_SUMMARY | ||
echo "| Status | Message |" >> $GITHUB_STEP_SUMMARY | ||
echo "| -------- | -------- |" >> $GITHUB_STEP_SUMMARY | ||
if [ "${{ github.event.inputs.status }}" != "SUCCESS" ]; then | ||
echo "| :x: | ${{ github.event.inputs.message }} |" >> $GITHUB_STEP_SUMMARY | ||
exit 1 | ||
fi | ||
echo "| :white_check_mark: | ${{ github.event.inputs.message }} |" >> $GITHUB_STEP_SUMMARY | ||
exit 0 |