Open tatchiuleung opened 10 years ago
Hi @shayke,
https://github.com/JFrogDev/teamcity-artifactory-plugin/blob/2401e170ea0062de336a4942b2606aabd298cc13/agent/src/main/java/org/jfrog/teamcity/agent/listener/AgentListenerReleaseHelper.java
Line 129: for (Map.Entry<ModuleName, File> pomEntry : projectPoms.entrySet()) { PomTransformer transformer = new PomTransformer(pomEntry.getKey(), versionsByModule, releaseParams.isSvn() ? releaseParams.getTagUrl() : null, releaseVersion);
vcsCoordinator.edit(pomEntry.getValue()); modified |= transformer.transform(pomEntry.getValue()); }
Can we do something here so that if releaseVersion is false, it restores to the original URL (e.g. trunk)? The plugin messed up the scm URLs and I always have to change it back to trunk manually before doing any maven scm goals.
Thank you.
Hi @shayke,
https://github.com/JFrogDev/teamcity-artifactory-plugin/blob/2401e170ea0062de336a4942b2606aabd298cc13/agent/src/main/java/org/jfrog/teamcity/agent/listener/AgentListenerReleaseHelper.java
Line 129: for (Map.Entry<ModuleName, File> pomEntry : projectPoms.entrySet()) { PomTransformer transformer = new PomTransformer(pomEntry.getKey(), versionsByModule, releaseParams.isSvn() ? releaseParams.getTagUrl() : null, releaseVersion);
Can we do something here so that if releaseVersion is false, it restores to the original URL (e.g. trunk)? The plugin messed up the scm URLs and I always have to change it back to trunk manually before doing any maven scm goals.
Thank you.