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?
@Sasank Sarma Have you tried to set an alternate path for the settings?
mvn clean install --settings <repo-path>/settings.xml
It looks like you're new here. Sign in or register to get started.