-
Bug
-
Resolution: Not A Defect
-
Major
-
OS - Linux ubuntu
Jenkins job dsl plugin - 1.47
Artifactory plugin - 2.4.7
Java - 1.8
Artifactory configuration with dsl as follows. Target repository is empty but config.xml has the value 'libs-snaphost-local'. I attached the screenshot with it. This configuration is for .net
artifactoryGenericConfigurator {
details {
artifactoryName('http://<ip>:<port>/artifactory')
artifactoryUrl('http://<ip>:<port>/artifactory')
deployReleaseRepository
}
deployPattern('*.zip')
}
Above configuration is failing with following error.
18:10:05 Time Elapsed 00:00:10.80
18:10:05 For pattern: *.zip 1 artifacts were found
18:10:06 ERROR: Target repository cannot be empty
18:10:06 java.lang.IllegalArgumentException: Target repository cannot be empty