I don't see this error using pipeline, instead the config is just ignored. My json config is as follows: def downloadSpec = """{ "files": [ { "pattern": "SomeRepo/$ {Environment} /bundle/$ {Version} /collected_packages/*", "target": "sourcepackages/", "flat": "true" } ] }""" Environment and Version are supplied as parameters to the job. Jenkins version: 2.44 Maven Integration: 2.14 Artifactory plugin: 2.9.1 |