public class PrIdAndUrlUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CHANGE_ID_PROPERTY |
static String |
CHANGE_URL_PROPERTY |
static String |
GIT_PR_ID_ENV_PROPERTY
Injected by
https://plugins.jenkins.io/ghprb/
|
static String |
GIT_URL_PROPERTY
Injected by Git plugin
|
Modifier and Type | Method and Description |
---|---|
static String |
getGitUrl(Map<String,String> scmVars,
Run build,
TaskListener listener) |
static int |
getPrId(Map<String,String> scmVars,
Run build,
TaskListener listener) |
public static final String GIT_URL_PROPERTY
public static final String GIT_PR_ID_ENV_PROPERTY
public static final String CHANGE_ID_PROPERTY
public static final String CHANGE_URL_PROPERTY
public static int getPrId(Map<String,String> scmVars, Run build, TaskListener listener) throws IOException, InterruptedException
IOException
InterruptedException
public static String getGitUrl(Map<String,String> scmVars, Run build, TaskListener listener) throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2016–2022. All rights reserved.