I tried this
pipelines: default: - step: script: - cp <repo-path>/settings.xml $HOME/.m2/settings.xml - mvn clean install
But is it mandatory that you have to install maven locally and place the settings file there or any location will do?
Community moderators have prevented the ability to post new answers.
@Sasank Sarma Have you tried to set an alternate path for the settings?
mvn clean install --settings <repo-path>/settings.xml
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.