Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

How to refer custom settings.xml from the build? #16

Open
sshcherbakov opened this issue Feb 10, 2017 · 1 comment
Open

How to refer custom settings.xml from the build? #16

sshcherbakov opened this issue Feb 10, 2017 · 1 comment

Comments

@sshcherbakov
Copy link

Sorry for raising an issue just to ask a question, but this is a very helpful example of the Concourse.ci pipeline and one important piece looks to be missing here.

Which exact path should I specify here
https://github.com/Pivotal-Field-Engineering/PCF-demo/blob/master/ci/pcfdemo-properties-sample.yml#L10
in order to pass my custom settings.xml to the maven build (e.g. with my Artifactory repo URL)?

I don't think that you can have access to the world outside of the java:8 docker container if you run the build as this project demonstrates.

@sshcherbakov
Copy link
Author

One interesting way to solve this problem would be to check in the settings.xml into SCM system and reference it as a usual concourse.ci resource and input for the build task.
It then becomes accessible in the file system of the container where the build runs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant