1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-01-16 05:16:08 +02:00

Tell us what was changed. (#2492)

With the current approach we get a failure when the generated
content triggers a change. But we cannot see what was changed.

With this commit we can see the diff. In case there is not diff
we will not see anything, so there is in that case no real change
in the behaviour. But in case there is a change we will see that
change.

Without that we have to reproduce locally, which means additional
efforts.
This commit is contained in:
Marcus Holl 2021-01-04 13:23:30 +01:00 committed by GitHub
parent 6d5a30683b
commit a6b2cb9c83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ jobs:
- name: generate - name: generate
run: go run pkg/generator/step-metadata.go run: go run pkg/generator/step-metadata.go
- name: verify - name: verify
run: git diff --name-only --exit-code run: git diff --exit-code
dependencies: dependencies:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: