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:
[configFile(fileId: ‘my-custom-file-id', variable:
sh 'mvn -s $MAVEN_SETTINGS clean package'
Results in this error:
groovy.lang.MissingPropertyException: No such property: MAVEN_SETTINGS for
I can see that the file is indeed copied into my workspace, but I’m not
able to use the file with “mvn -s $MAVEN_SETTINGS”:
I am able to view the contents of the file like this, however:
sh 'cat $MAVEN_SETTINGS’
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.