Skip to content

Commit

Permalink
Use main branch in CI and badges.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Nov 20, 2023
1 parent c8f2acf commit 65d6526
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: 'Run UI tests'
on:
push:
branches:
- master
- main
pull_request:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ logged by release drafter in [GitHub releases](https://github.com/jenkinsci/warn
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased](https://github.com/jenkinsci/warnings-ng-plugin/compare/warnings-ng-5.2.0...master)
## [Unreleased](https://github.com/jenkinsci/warnings-ng-plugin/compare/warnings-ng-5.2.0...main)

### Fixed
- [JENKINS-57709](https://issues.jenkins.io/browse/JENKINS-57709): Fixed class loading problems if Git plugin
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

[![Join the chat at https://gitter.im/jenkinsci/warnings-plugin](https://badges.gitter.im/jenkinsci/warnings-plugin.svg)](https://gitter.im/jenkinsci/warnings-plugin?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Jenkins Plugin Installs](https://img.shields.io/jenkins/plugin/i/warnings-ng.svg?color=red)](https://plugins.jenkins.io/warnings-ng)
[![Jenkins](https://ci.jenkins.io/job/Plugins/job/warnings-ng-plugin/job/master/badge/icon?subject=Jenkins%20CI)](https://ci.jenkins.io/job/Plugins/job/warnings-ng-plugin/job/master/)
[![Jenkins](https://ci.jenkins.io/job/Plugins/job/warnings-ng-plugin/job/main/badge/icon?subject=Jenkins%20CI)](https://ci.jenkins.io/job/Plugins/job/warnings-ng-plugin/job/main/)
[![GitHub Actions](https://github.com/jenkinsci/warnings-ng-plugin/workflows/GitHub%20CI/badge.svg)](https://github.com/jenkinsci/warnings-ng-plugin/actions)
[![Codecov](https://codecov.io/gh/jenkinsci/warnings-ng-plugin/branch/master/graph/badge.svg)](https://app.codecov.io/gh/jenkinsci/warnings-ng-plugin)
[![Codecov](https://codecov.io/gh/jenkinsci/warnings-ng-plugin/branch/main/graph/badge.svg)](https://app.codecov.io/gh/jenkinsci/warnings-ng-plugin)

The Jenkins Next Generation Warnings plugin collects compiler warnings or issues reported by static analysis tools and
visualizes the results. It has built-in support for more than a hundred [report formats](SUPPORTED-FORMATS.md).
Expand Down
2 changes: 1 addition & 1 deletion plugin/src/main/resources/index.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
Collects compiler warnings or issues reported by static analysis tools and
visualizes the results. It has built-in support for many compilers (cpp, clang, java, ...) and tools
(spotbugs, pmd, checkstyle, eslint, phpstan, ...), see the list of
<a href="https://github.com/jenkinsci/warnings-ng-plugin/blob/master/SUPPORTED-FORMATS.md">supported report formats</a>.
<a href="https://github.com/jenkinsci/warnings-ng-plugin/blob/main/SUPPORTED-FORMATS.md">supported report formats</a>.
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ private static DomContent getIcon(final ToolDescriptor descriptor) {
}
if (url.endsWith("plugin-warnings-ng")) {
String warningsIcon = StringUtils.substringBefore(StringUtils.substringAfter(url, "symbol-"), " ");
return asImg(descriptor, "https://raw.githubusercontent.com/jenkinsci/warnings-ng-plugin/master/plugin/src/main/resources/images/symbols/" + warningsIcon + ".svg");
return asImg(descriptor, "https://raw.githubusercontent.com/jenkinsci/warnings-ng-plugin/main/plugin/src/main/resources/images/symbols/" + warningsIcon + ".svg");
}
return text(EMPTY);
}
Expand Down

0 comments on commit 65d6526

Please sign in to comment.