Examples of pullRequestNumber()


Examples of com.groupon.jenkins.github.GitBranch.pullRequestNumber()

    public String getShaForBranch(String branch) {
        GitBranch gitBranch = new GitBranch(branch);
        if (gitBranch.isPullRequest()) {
            try {
                return getGithubRepository().getPullRequest(gitBranch.pullRequestNumber()).getHead().getSha();
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        } else {
            try {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.