File tree Expand file tree Collapse file tree 4 files changed +78
-4
lines changed Expand file tree Collapse file tree 4 files changed +78
-4
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : maven
4
+ directory : /
5
+ schedule :
6
+ interval : weekly
7
+ reviewers :
8
+ - " jetersen"
9
+ - package-ecosystem : github-actions
10
+ directory : /
11
+ schedule :
12
+ interval : weekly
13
+ reviewers :
14
+ - " jetersen"
Original file line number Diff line number Diff line change
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
+ validate :
12
+ runs-on : ubuntu-latest
13
+ outputs :
14
+ should_release : ${{ steps.verify-ci-status.outputs.result == 'success' && steps.interesting-categories.outputs.interesting == 'true' }}
15
+ steps :
16
+ - name : Verify CI status
17
+ uses :
jenkins-infra/[email protected]
18
+ id : verify-ci-status
19
+ with :
20
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
21
+ output_result : true
22
+
23
+ - name : Release Drafter
24
+ uses : release-drafter/release-drafter@v5
25
+ if : steps.verify-ci-status.outputs.result == 'success'
26
+ with :
27
+ name : next
28
+ tag : next
29
+ version : next
30
+ env :
31
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32
+
33
+ - name : Check interesting categories
34
+ uses :
jenkins-infra/[email protected]
35
+ id : interesting-categories
36
+ if : steps.verify-ci-status.outputs.result == 'success'
37
+ with :
38
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
39
+
40
+ release :
41
+ runs-on : ubuntu-latest
42
+ needs : [validate]
43
+ if : needs.validate.outputs.should_release == 'true'
44
+ steps :
45
+ - name : Check out
46
+ uses : actions/checkout@v3
47
+ with :
48
+ fetch-depth : 0
49
+ - name : Set up JDK 8
50
+ uses : actions/setup-java@v3
51
+ with :
52
+ distribution : ' temurin'
53
+ java-version : 8
54
+ - name : Release
55
+ uses :
jenkins-infra/[email protected]
56
+ with :
57
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
58
+ MAVEN_USERNAME : ${{ secrets.MAVEN_USERNAME }}
59
+ MAVEN_TOKEN : ${{ secrets.MAVEN_TOKEN }}
Original file line number Diff line number Diff line change 1
1
-Pconsume-incrementals
2
2
-Pmight-produce-incrementals
3
+ -Dchangelist.format=%d.v%s
Original file line number Diff line number Diff line change 10
10
11
11
<groupId >io.jenkins.plugins</groupId >
12
12
<artifactId >gitlab-api</artifactId >
13
- <version >${revision}${changelist} </version >
13
+ <version >${revision} - ${changelist} </version >
14
14
<packaging >hpi</packaging >
15
15
16
16
<properties >
17
- <revision >1 .0.7 </revision >
18
- <changelist >-SNAPSHOT</changelist >
17
+ <revision >5 .0.1 </revision >
18
+ <changelist >999999 -SNAPSHOT</changelist >
19
19
<jenkins .version>2.289.3</jenkins .version>
20
20
<gitHubRepo >jenkinsci/${project.artifactId}-plugin</gitHubRepo >
21
21
</properties >
76
76
<dependency >
77
77
<groupId >org.gitlab4j</groupId >
78
78
<artifactId >gitlab4j-api</artifactId >
79
- <version >5.0.1 </version >
79
+ <version >${revision} </version >
80
80
<exclusions >
81
81
<!-- Provided by javax-activation-api plugin -->
82
82
<exclusion >
You can’t perform that action at this time.
0 commit comments