throw new JGitFlowReleaseException("Error finishing hotfix: " + e.getMessage(), e);
throw new JGitFlowReleaseException("Error finish feature: " + e.getMessage(), e);
throw new JGitFlowReleaseException("Error finishing release: " + e.getMessage(), e);
throw new JGitFlowReleaseException("Error starting release: " + e.getMessage(), e);
throw new JGitFlowReleaseException("Error starting hotfix: " + e.getMessage(), e);
private String startFeature(JGitFlow flow, ReleaseContext ctx) throws JGitFlowReleaseException { String featureName = ""; try { //make sure we're on develop flow.git().checkout().setName(flow.getDevelopBranchName()).call(); featureName = getFeatureStartName(ctx, flow); if(ctx.isPushFeatures()) { projectHelper.ensureOrigin(ctx.getDefaultOriginUrl(), flow); } flow.featureStart(featureName) .setAllowUntracked(ctx.isAllowUntracked()) .setPush(ctx.isPushFeatures()) .setStartCommit(ctx.getStartCommit()) .setScmMessagePrefix(ctx.getScmCommentPrefix()) .call(); } catch (GitAPIException e) { throw new JGitFlowReleaseException("Error starting feature: " + e.getMessage(), e); } catch (JGitFlowException e) { throw new JGitFlowReleaseException("Error starting feature: " + e.getMessage(), e); } return featureName; }
throw new JGitFlowReleaseException("Error starting hotfix: " + e.getMessage(), e);
throw new JGitFlowReleaseException("Error starting release: " + e.getMessage(), e);
throw new JGitFlowReleaseException("Error starting feature: " + e.getMessage(), e);
throw new JGitFlowReleaseException("Error releasing: " + e.getMessage(), e);
throw new JGitFlowReleaseException("Error releasing: " + e.getMessage(), e);
throw new JGitFlowReleaseException("Error finish feature: " + e.getMessage(), e);