qlty_coverage/ci/
gitlab.rs

1use crate::ci::CI;
2
3#[derive(Debug, Default)]
4pub struct GitLab {}
5
6impl CI for GitLab {
7    fn detect(&self) -> bool {
8        false // TODO
9    }
10
11    fn ci_name(&self) -> String {
12        "GitLab".to_string()
13    }
14
15    fn ci_url(&self) -> String {
16        "GitLab".to_string()
17    }
18
19    fn repository_name(&self) -> String {
20        "".to_string()
21    }
22
23    fn repository_url(&self) -> String {
24        "".to_string()
25    }
26
27    fn branch(&self) -> String {
28        "master".to_string()
29    }
30
31    fn workflow(&self) -> String {
32        "".to_string()
33    }
34
35    fn job(&self) -> String {
36        "123".to_string()
37    }
38
39    fn build_id(&self) -> String {
40        "123".to_string()
41    }
42
43    fn build_url(&self) -> String {
44        "".to_string()
45    }
46
47    fn pull_number(&self) -> String {
48        "".to_string()
49    }
50
51    fn pull_url(&self) -> String {
52        "".to_string()
53    }
54
55    fn commit_sha(&self) -> String {
56        "".to_string()
57    }
58}