Skip to content

Commit 71c8a89

Browse files
Merge pull request #194 from jenkinsci/develop
Merge automatic release procedure for release v4.0 [AUOPS-4287]
2 parents e99690b + 52fb7e5 commit 71c8a89

File tree

6 files changed

+54
-7
lines changed

6 files changed

+54
-7
lines changed

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuring-dependabot-version-updates
2+
3+
version: 2
4+
updates:
5+
- package-ecosystem: maven
6+
directory: /
7+
schedule:
8+
interval: monthly
9+
- package-ecosystem: github-actions
10+
directory: /
11+
schedule:
12+
interval: monthly

.github/workflows/cd.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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+
inputs:
7+
validate_only:
8+
required: false
9+
type: boolean
10+
description: |
11+
Run validation with release drafter only
12+
→ Skip the release job
13+
default: false
14+
15+
jobs:
16+
maven-cd:
17+
uses: jenkins-infra/github-reusable-workflows/.github/workflows/maven-cd.yml@v1
18+
with:
19+
validate_only: ${{ inputs.validate_only == true }}
20+
secrets:
21+
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
22+
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}

.mvn/extensions.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd">
2+
<extension>
3+
<groupId>io.jenkins.tools.incrementals</groupId>
4+
<artifactId>git-changelist-maven-extension</artifactId>
5+
<version>1.8</version>
6+
</extension>
7+
</extensions>

.mvn/maven.config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
-Pconsume-incrementals
2+
-Pmight-produce-incrementals
3+
-Dchangelist.format=%d.v%s

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
buildPlugin(
22
tests: [skip: true],
33
configurations: [
4-
[platform: 'windows', jdk: '11', jenkins: '2.361.2'],
4+
[platform: 'windows', jdk: '11', jenkins: '2.414.3'],
55
]
66
)

pom.xml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@
99
</parent>
1010

1111
<artifactId>uipath-automation-package</artifactId>
12-
<version>4.0-SNAPSHOT</version>
12+
<version>${revision}.${changelist}</version>
1313
<packaging>hpi</packaging>
1414

1515
<properties>
16+
<revision>4.0</revision>
17+
<changelist>999999-SNAPSHOT</changelist>
18+
<gitHubRepo>jenkinsci/uipath-automation-package-plugin</gitHubRepo>
1619
<jenkins.version>2.414.3</jenkins.version>
1720
<powershell.version>1.7</powershell.version>
1821
<envinject.version>2.4.0</envinject.version>
@@ -212,10 +215,10 @@
212215
</license>
213216
</licenses>
214217
<scm>
215-
<connection>scm:git:ssh://[email protected]/jenkinsci/uipath-automation-package-plugin.git</connection>
216-
<developerConnection>scm:git:ssh://[email protected]/jenkinsci/uipath-automation-package-plugin.git</developerConnection>
217-
<url>https://github.com/jenkinsci/uipath-automation-package-plugin</url>
218-
<tag>HEAD</tag>
218+
<connection>scm:git:ssh://[email protected]/${gitHubRepo}.git</connection>
219+
<developerConnection>scm:git:ssh://[email protected]/${gitHubRepo}.git</developerConnection>
220+
<url>https://github.com/${gitHubRepo}</url>
221+
<tag>${scmTag}</tag>
219222
</scm>
220223
<!-- List of dependencies of the project. -->
221224
<dependencies>
@@ -391,7 +394,7 @@
391394
</roles>
392395
</developer>
393396
<developer>
394-
<id>cotovanu-cristian</id>
397+
<id>cristiancotovanu</id>
395398
<name>Cristian Cotovanu</name>
396399
<url>https://github.com/cotovanu-cristian</url>
397400
<email>[email protected]</email>

0 commit comments

Comments
 (0)