aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/api
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2018-04-13 10:51:47 +0200
committerSonarTech <sonartech@sonarsource.com>2018-04-16 20:20:47 +0200
commit35cb9ce02600f030954805ca506acf61da6625cc (patch)
tree4e3b744811814cba616bf35274bb749858a9d940 /server/sonar-web/src/main/js/api
parent2c36adcf2180253e3cd6832d6fb454e580a42cd2 (diff)
downloadsonarqube-35cb9ce02600f030954805ca506acf61da6625cc.tar.gz
sonarqube-35cb9ce02600f030954805ca506acf61da6625cc.zip
SONAR-10571 Show background task notifications only on related branch/pr
Diffstat (limited to 'server/sonar-web/src/main/js/api')
-rw-r--r--server/sonar-web/src/main/js/api/ce.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/api/ce.ts b/server/sonar-web/src/main/js/api/ce.ts
index 3046f797467..21eaff0990d 100644
--- a/server/sonar-web/src/main/js/api/ce.ts
+++ b/server/sonar-web/src/main/js/api/ce.ts
@@ -21,12 +21,16 @@ import { getJSON, post, RequestData } from '../helpers/request';
import throwGlobalError from '../app/utils/throwGlobalError';
export interface PendingTask {
+ branch?: string;
+ branchType?: string;
componentKey: string;
componentName: string;
componentQualifier: string;
id: string;
logs: boolean;
organization: string;
+ pullRequest?: string;
+ pullRequestTitle?: string;
status: string;
submittedAt: Date;
submitterLogin?: string;