/** * Creates a URL, to be used as the default value of the module tag URL. * * @return * null if failed to guess. */ public String makeTagURL(SvnInfo si) { // assume the standard trunk/branches/tags repository layout Matcher m = TRUNK_BRANCH_MARKER.matcher(si.url); if(!m.find()) return null; // doesn't have 'trunk' nor 'branches' return si.url.substring(0,m.start())+"/tags/"+getBuild().getProject().getName()+"-"+getBuild().getNumber(); }
/** * Creates a URL, to be used as the default value of the module tag URL. * * @return * null if failed to guess. */ public String makeTagURL(SvnInfo si) { // assume the standard trunk/branches/tags repository layout Matcher m = TRUNK_BRANCH_MARKER.matcher(si.url); if(!m.find()) return null; // doesn't have 'trunk' nor 'branches' return si.url.substring(0,m.start())+"/tags/"+getBuild().getProject().getName()+"-"+getBuild().getNumber(); }
/** * Creates a URL, to be used as the default value of the module tag URL. * * @return null if failed to guess. */ public String makeTagURL(SvnInfo si) { // assume the standard trunk/branches/tags repository layout Matcher m = TRUNK_BRANCH_MARKER.matcher(si.url); if (!m.find()) return null; // doesn't have 'trunk' nor 'branches' return si.url.substring(0, m.start()) + "/tags/" + getBuild().getProject().getName() + "-" + getBuild().getNumber(); }
final SVNClientManager cm = upc!=null ? SVNClientManager.newInstance(SVNWCUtil.createDefaultOptions(true),upc.new AuthenticationManagerImpl(listener)) : SubversionSCM.createSvnClientManager(getBuild().getProject()); try { for (Entry<SvnInfo, String> e : tagSet.entrySet()) { getBuild().save(); workerThread = null; } finally {
getBuild().save(); workerThread = null; } finally {