├── .github
├── CODEOWNERS
├── dependabot.yml
└── workflows
│ ├── cd.yml
│ └── jenkins-security-scan.yml
├── .gitignore
├── .mvn
├── maven.config
└── extensions.xml
├── src
└── main
│ └── resources
│ └── index.jelly
├── Jenkinsfile
├── README.md
└── pom.xml
/.github/CODEOWNERS:
--------------------------------------------------------------------------------
1 | * @jenkinsci/gitlab-api-plugin-developers
2 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | target
2 | work
3 | *.iml
4 | .idea
5 | pom.xml.releaseBackup
6 | release.properties
7 |
--------------------------------------------------------------------------------
/.mvn/maven.config:
--------------------------------------------------------------------------------
1 | -Pconsume-incrementals
2 | -Pmight-produce-incrementals
3 | -Dchangelist.format=%d.v%s
4 |
--------------------------------------------------------------------------------
/src/main/resources/index.jelly:
--------------------------------------------------------------------------------
1 |
2 |
3 | This plugin provides
GitLab4J API for other plugins.
4 |
5 |
--------------------------------------------------------------------------------
/.github/dependabot.yml:
--------------------------------------------------------------------------------
1 | version: 2
2 | updates:
3 | - package-ecosystem: maven
4 | directory: /
5 | schedule:
6 | interval: weekly
7 | - package-ecosystem: github-actions
8 | directory: /
9 | schedule:
10 | interval: weekly
11 | reviewers:
12 | - "jetersen"
13 |
--------------------------------------------------------------------------------
/Jenkinsfile:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env groovy
2 |
3 | /* `buildPlugin` step provided by: https://github.com/jenkins-infra/pipeline-library */
4 | buildPlugin(
5 | useContainerAgent: true,
6 | configurations: [
7 | [platform: 'linux', jdk: 25],
8 | [platform: 'linux', jdk: 21],
9 | ])
10 |
--------------------------------------------------------------------------------
/.mvn/extensions.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | io.jenkins.tools.incrementals
4 | git-changelist-maven-extension
5 | 1.13
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.github/workflows/cd.yml:
--------------------------------------------------------------------------------
1 | # Note: additional setup is required, see https://www.jenkins.io/redirect/continuous-delivery-of-plugins
2 |
3 | name: cd
4 | on:
5 | workflow_dispatch:
6 | check_run:
7 | types:
8 | - completed
9 |
10 | jobs:
11 | maven-cd:
12 | uses: jenkins-infra/github-reusable-workflows/.github/workflows/maven-cd.yml@v1
13 | secrets:
14 | MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
15 | MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}
16 |
--------------------------------------------------------------------------------
/.github/workflows/jenkins-security-scan.yml:
--------------------------------------------------------------------------------
1 | name: Jenkins Security Scan
2 |
3 | on:
4 | push:
5 | branches:
6 | - master
7 | pull_request:
8 | types: [ opened, synchronize, reopened ]
9 | workflow_dispatch:
10 |
11 | permissions:
12 | security-events: write
13 | contents: read
14 | actions: read
15 |
16 | jobs:
17 | security-scan:
18 | uses: jenkins-infra/jenkins-security-scan/.github/workflows/jenkins-security-scan.yaml@v2
19 | with:
20 | java-cache: 'maven' # Optionally enable use of a build dependency cache. Specify 'maven' or 'gradle' as appropriate.
21 | # java-version: 21 # Optionally specify what version of Java to set up for the build, or remove to use a recent default.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | [](https://ci.jenkins.io/job/Plugins/job/gitlab-api-plugin/job/master/)
2 | [](https://github.com/jenkinsci/gitlab-api-plugin/releases/latest)
3 | [](https://gitter.im/jenkinsci/gitlab-branch-source-plugin)
4 | [](https://plugins.jenkins.io/gitlab-api)
5 |
6 | # gitlab-api-plugin
7 | Wraps [GitLab4J API](https://github.com/gitlab4j/gitlab4j-api) libary into a plugin
8 |
9 | Install plugin with
10 |
11 | ```
12 | mvn clean install
13 | ```
14 |
--------------------------------------------------------------------------------
/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 4.0.0
4 |
5 | org.jenkins-ci.plugins
6 | plugin
7 | 5.28
8 |
9 |
10 |
11 | io.jenkins.plugins
12 | gitlab-api
13 | ${revision}-${changelist}
14 | hpi
15 |
16 |
17 | 6.2.0
18 | 999999-SNAPSHOT
19 |
20 | 2.504
21 | ${jenkins.baseline}.3
22 | jenkinsci/${project.artifactId}-plugin
23 | gitlab4j-api,gitlab4j-models
24 | true
25 |
26 |
27 | GitLab API Plugin
28 | Wraps GitLab4J API into a plugin
29 | https://github.com/jenkinsci/${project.artifactId}-plugin
30 |
31 |
32 | https://issues.jenkins.io/issues/?jql=resolution%20is%20EMPTY%20and%20component%3D25128
33 | JIRA
34 |
35 |
36 |
37 |
38 | MIT License
39 | https://opensource.org/licenses/MIT
40 | repo
41 |
42 |
43 |
44 |
45 |
46 | baymac
47 | Parichay Barpanda
48 | parichay.barpanda@gmail.com
49 |
50 |
51 |
52 |
53 | scm:git:https://github.com/${gitHubRepo}.git
54 | scm:git:git@github.com:${gitHubRepo}.git
55 | https://github.com/${gitHubRepo}
56 | ${scmTag}
57 |
58 |
59 |
60 |
61 |
62 | io.jenkins.tools.bom
63 | bom-${jenkins.baseline}.x
64 | 5750.vec44cb_c78352
65 | pom
66 | import
67 |
68 |
69 |
70 |
71 |
72 |
73 | io.jenkins.plugins
74 | jakarta-activation-api
75 |
76 |
77 | io.jenkins.plugins
78 | jersey3-api
79 |
80 |
81 | org.gitlab4j
82 | gitlab4j-api
83 | ${revision}
84 |
85 |
86 |
87 | jakarta.servlet
88 | jakarta.servlet-api
89 |
90 |
91 |
92 | org.glassfish.jersey.core
93 | jersey-client
94 |
95 |
96 |
97 |
98 | org.jenkins-ci.plugins
99 | jackson2-api
100 |
101 |
102 |
103 |
104 |
105 | repo.jenkins-ci.org
106 | https://repo.jenkins-ci.org/public/
107 |
108 |
109 |
110 |
111 | repo.jenkins-ci.org
112 | https://repo.jenkins-ci.org/public/
113 |
114 |
115 |
116 |
117 |
--------------------------------------------------------------------------------