use sh 'mvn -s \$MAVEN_SETTINGS clean package'
(escape before the $ sign)
On Wednesday, September 21, 2016 at 7:14:49 PM UTC+3, Taylor Patton wrote:
>
> Hi,
>
>
> I’m trying to use the Config File Provider Plugin in my Pipeline build but
> its not working. Following the very basic example from
Hi,
I’m trying to use the Config File Provider Plugin in my Pipeline build but
its not working. Following the very basic example from the wiki page:
configFileProvider(
[configFile(fileId: ‘my-custom-file-id', variable:
'MAVEN_SETTINGS')]) {
sh 'mvn -s $MAVEN_SETTINGS clean