File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
storage/uniqueNugetDeploy Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 3636 ngas = org.artifactory.addon.nuget.repomd.NuGetArtifactoryService . class
3737} catch (MissingPropertyException ex) {}
3838
39+ def cpath = " plugins/uniqueNugetDeploy.properties"
40+ def cfile = new File (ctx. artifactoryHome. haAwareEtcDir, cpath)
41+ def config = new ConfigSlurper (). parse(cfile. toURL())
42+
43+
3944class FakeUriInfo implements UriInfo {
4045 MultivaluedMap<String ,String > ps;
4146 public FakeUriInfo (MultivaluedMap<String ,String > ps ) {this . ps = ps}
@@ -62,9 +67,6 @@ class FakeUriInfo implements UriInfo {
6267
6368storage {
6469 beforeCreate { item ->
65- def cpath = " plugins/uniqueNugetDeploy.properties"
66- def cfile = new File (ctx. artifactoryHome. haAwareEtcDir, cpath)
67- def config = new ConfigSlurper (). parse(cfile. toURL())
6870 def repoKeys = config. checkedRepos as String []
6971 def filtKeys = config. filteredRepos as String []
7072 if (! item || ! (item. repoKey in filtKeys)) return
You can’t perform that action at this time.
0 commit comments