* Add option to tag artifact version to containerPushToRegistryStep
* Update vars/containerPushToRegistry.groovy
Co-authored-by: breuerjo <36748317+breuerjo@users.noreply.github.com>
* commonPipelineEnvironment instead of globalPipelineEnvironment
Co-authored-by: breuerjo <36748317+breuerjo@users.noreply.github.com>
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
* feat(ContainerPushToRegistry): add authentication for source repository
* Adjust mocking to reflect a source and a target registry instead of an anonymous and an authenticated
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
* do not swallow exception triggered inside SWA handling
--> write it to the log
The real change is in src/com/sap/piper/Utils.groovy
All the changes in the tests are dealing with mocking the echo method
used in the Utils class mentioned above.
This step should serve as generic entry point in pipelines for building artifacts.
Build principle: build once.
Purpose of the step:
- build using a defined build technology
- store build result for future use in testing etc.