-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
8 changed files
with
48 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Note: additional setup is required, see https://www.jenkins.io/redirect/continuous-delivery-of-plugins | ||
|
||
name: cd | ||
on: | ||
workflow_dispatch: | ||
check_run: | ||
types: | ||
- completed | ||
|
||
jobs: | ||
maven-cd: | ||
uses: jenkins-infra/github-reusable-workflows/.github/workflows/maven-cd.yml@v1 | ||
secrets: | ||
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} | ||
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ target | |
.settings | ||
.project | ||
work | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<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"> | ||
<extension> | ||
<groupId>io.jenkins.tools.incrementals</groupId> | ||
<artifactId>git-changelist-maven-extension</artifactId> | ||
<version>1.4</version> | ||
</extension> | ||
</extensions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
-Pconsume-incrementals | ||
-Pmight-produce-incrementals | ||
-Dchangelist.format=%d.v%s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
buildPlugin(useContainerAgent: true, configurations: [ | ||
[platform: 'linux', jdk: '11'], | ||
[platform: 'linux', jdk: '17'] | ||
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,41 +3,42 @@ | |
<parent> | ||
<groupId>org.jenkins-ci.plugins</groupId> | ||
<artifactId>plugin</artifactId> | ||
<version>1.403</version> | ||
<version>4.53</version> | ||
<relativePath /> | ||
</parent> | ||
|
||
<artifactId>envfile</artifactId> | ||
<version>1.3-SNAPSHOT</version> | ||
<version>${changelist}</version> | ||
<packaging>hpi</packaging> | ||
<name>Jenkins Environment File Plugin</name> | ||
<url>https://wiki.jenkins-ci.org/display/JENKINS/Envfile+Plugin</url> | ||
|
||
<developers> | ||
<developer> | ||
<id>ajoajoajo</id> | ||
<name>Anders Johansson</name> | ||
<email>[email protected]</email> | ||
</developer> | ||
</developers> | ||
|
||
<!-- get every artifact through maven.glassfish.org, which proxies all the artifacts that we need --> | ||
<repositories> | ||
<repository> | ||
<id>repo.jenkins-ci.org</id> | ||
<url>http://repo.jenkins-ci.org/public/</url> | ||
<url>https://repo.jenkins-ci.org/public/</url> | ||
</repository> | ||
</repositories> | ||
|
||
<pluginRepositories> | ||
<pluginRepository> | ||
<id>repo.jenkins-ci.org</id> | ||
<url>http://repo.jenkins-ci.org/public/</url> | ||
<url>https://repo.jenkins-ci.org/public/</url> | ||
</pluginRepository> | ||
</pluginRepositories> | ||
|
||
<scm> | ||
<connection>scm:git:git://github.com/jenkinsci/envfile-plugin.git</connection> | ||
<connection>scm:git:https://github.com/jenkinsci/envfile-plugin.git</connection> | ||
<developerConnection>scm:git:[email protected]:jenkinsci/envfile-plugin.git</developerConnection> | ||
<url>https://github.com/jenkinsci/envfile-plugin</url> | ||
<tag>${scmTag}</tag> | ||
</scm> | ||
|
||
<properties> | ||
<changelist>999999-SNAPSHOT</changelist> | ||
<jenkins.version>2.361.4</jenkins.version> | ||
<!-- TODO fix violations --> | ||
<spotbugs.threshold>High</spotbugs.threshold> | ||
</properties> | ||
</project> |
3 changes: 2 additions & 1 deletion
3
src/main/resources/hudson/plugins/envfile/EnvFileBuildWrapper/config.jelly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<?jelly escape-by-default='true'?> | ||
<div> | ||
This plugin can be used to set environment variables from a file. | ||
</div> | ||
</div> |