Skip to content

Commit

Permalink
Improve test informations (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinGroscheTT committed Nov 30, 2023
1 parent 7088ee5 commit de59472
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 22 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/ci.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/jenkins-ci.yml
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

0 comments on commit de59472

Please sign in to comment.