Skip to content

Commit

Permalink
Merge pull request #35 from jglick/cd
Browse files Browse the repository at this point in the history
Enable CD
  • Loading branch information
jglick authored Mar 21, 2023
2 parents 73d8d44 + dcbabc0 commit 620601c
Show file tree
Hide file tree
Showing 10 changed files with 51 additions and 301 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @jenkinsci/view-job-filters-plugin-developers
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuring-dependabot-version-updates

version: 2
updates:
- package-ecosystem: maven
directory: /
schedule:
interval: monthly
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
2 changes: 0 additions & 2 deletions .github/release-drafter.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Note: additional setup is required, see https://www.jenkins.io/redirect/continuous-delivery-of-plugins

name: cd
on:
workflow_dispatch:
check_run:
types:
- completed

permissions:
checks: read
contents: write

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 }}
17 changes: 0 additions & 17 deletions .github/workflows/release-drafter.yml

This file was deleted.

7 changes: 7 additions & 0 deletions .mvn/extensions.xml
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.6</version>
</extension>
</extensions>
3 changes: 3 additions & 0 deletions .mvn/maven.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-Pconsume-incrementals
-Pmight-produce-incrementals
-Dchangelist.format=%d.v%s
14 changes: 1 addition & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
[![Jenkins Plugins](https://img.shields.io/jenkins/plugin/v/view-job-filters.svg)](https://plugins.jenkins.io/view-job-filters)
[![Jenkins Plugins](https://img.shields.io/jenkins/plugin/i/view-job-filters.svg)](https://plugins.jenkins.io/view-job-filters)
[![MIT License](https://img.shields.io/github/license/jenkinsci/view-job-filters-plugin.svg)](LICENSE)
[![Build Status](https://ci.jenkins.io/buildStatus/icon?job=Plugins/view-job-filters-plugin/master)](https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fview-job-filters-plugin/branches)
[![javadoc](https://img.shields.io/badge/javadoc-available-brightgreen.svg)](https://javadoc.jenkins.io/plugin/view-job-filters/)

# Jenkins View Job Filters Plugin

Manage multiple views and hundreds of jobs much more easily. This plug-in provides more ways to
Expand Down Expand Up @@ -288,7 +282,7 @@ enter a JIRA ticket.

For new versions, see [GitHub Releases](https://github.com/jenkinsci/view-job-filters-plugin/releases).

For old versions, see the [old changelog](docs/old-changelog.md).
For old versions, see the [old changelog](https://github.com/jenkinsci/view-job-filters-plugin/blob/73d8d44762ef60337341b1c5329213109672042d/docs/old-changelog.md).

## Development

Expand All @@ -312,12 +306,6 @@ $ mvn test jacoco:report
$ mvn install
```

* Publish a release (only for maintainers):

```
$ mvn release:prepare release:perform
```

## License

MIT License
Expand Down
258 changes: 0 additions & 258 deletions docs/old-changelog.md

This file was deleted.

19 changes: 8 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,19 @@
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.55</version>
<relativePath />
<relativePath/>
</parent>

<artifactId>view-job-filters</artifactId>
<packaging>hpi</packaging>
<version>2.4-SNAPSHOT</version>
<version>${changelist}</version>
<name>View Job Filters</name>
<description>Manage multiple views and hundreds of jobs much more easily. This plug-in provides more ways to
include/exclude jobs from a view, including filtering by SCM path, and by any job or build status type, as well
as "chaining" of filters and negating filters.
</description>
<url>https://github.com/jenkinsci/${project.artifactId}-plugin</url>
<scm>
<connection>scm:git:git://github.com/jenkinsci/${project.artifactId}-plugin.git</connection>
<developerConnection>scm:git:[email protected]:jenkinsci/${project.artifactId}-plugin.git</developerConnection>
<url>https://github.com/jenkinsci/${project.artifactId}-plugin</url>
<tag>HEAD</tag>
<connection>scm:git:git://github.com/${gitHubRepo}.git</connection>
<developerConnection>scm:git:[email protected]:${gitHubRepo}.git</developerConnection>
<url>https://github.com/${gitHubRepo}</url>
<tag>${scmTag}</tag>
</scm>
<licenses>
<license>
Expand All @@ -30,8 +26,9 @@
</license>
</licenses>
<properties>
<changelist>999999-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/view-job-filters-plugin</gitHubRepo>
<jenkins.version>2.387.1</jenkins.version>
<java.level>8</java.level>
</properties>
<dependencyManagement>
<dependencies>
Expand Down

0 comments on commit 620601c

Please sign in to comment.