Skip to content

Conversation

@ppxl
Copy link
Member

@ppxl ppxl commented Sep 17, 2019

This PR resolves #4. It adds several global variables:

  • withMavenSettings
  • truststore
  • helper

# withMavenSettings

The function `withMavenSettings() { -> settingsXml }` provides an easy-
to-use functionality which writes a settings file and cleans it up
afterwards.

# truststore

Sharing a truststore is a fickle thing because it contains crucial
certificates. Once a build job finishes it is unnecessarily hard to
remove truststore files. For this reason `copy()` and `use()` exist
so that the files are removed on different Jenkins nodes within the
Job build workspace.
Signed-off-by: Philipp Pixel <pixeloffice@philipppixel.de>
This was a refactoring artifact. This fix was successfully tested.

Signed-off-by: Philipp Pixel <pixeloffice@philipppixel.de>
@robertauer robertauer merged commit fe8d3a3 into develop Sep 18, 2019
@robertauer robertauer deleted the feature/4_maven_settings_and_truststore_helpers branch September 18, 2019 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add helpers for copying truststores and support Maven settings

3 participants