forked from phoedos/pmd
parent
19496ef198
commit
fa01fcd38b
@ -167,11 +167,12 @@ function build() {
|
|||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Installs bundler, which is needed for doc generation and regression tester
|
# Bundler should be already installed - it should be included in the ruby distribution.
|
||||||
|
# Bundler is needed for doc generation and regression tester
|
||||||
#
|
#
|
||||||
function pmd_ci_build_setup_bundler() {
|
function pmd_ci_build_setup_bundler() {
|
||||||
pmd_ci_log_info "Installing bundler..."
|
pmd_ci_log_info "Checking bundler version..."
|
||||||
gem install bundler -v 2.4.22
|
bundle --version
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -19,8 +19,9 @@ function regression_tester_setup_ci() {
|
|||||||
source .ci/files/public-env >/dev/null 2>&1
|
source .ci/files/public-env >/dev/null 2>&1
|
||||||
rm .ci/files/public-env
|
rm .ci/files/public-env
|
||||||
|
|
||||||
if hash "bundler" 2>/dev/null; then
|
if hash "bundle" 2>/dev/null; then
|
||||||
pmd_ci_log_debug "Bundler is already installed"
|
pmd_ci_log_debug "Bundler is already installed"
|
||||||
|
bundle --version
|
||||||
else
|
else
|
||||||
pmd_ci_log_info "Installing bundler..."
|
pmd_ci_log_info "Installing bundler..."
|
||||||
gem install bundler
|
gem install bundler
|
||||||
|
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -52,16 +52,17 @@ jobs:
|
|||||||
key: v3-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
|
key: v3-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
v3-${{ runner.os }}-
|
v3-${{ runner.os }}-
|
||||||
- name: Set up Ruby 2.7
|
- name: Set up Ruby 3.3
|
||||||
uses: ruby/setup-ruby@v1
|
uses: ruby/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
ruby-version: 2.7
|
ruby-version: 3.3
|
||||||
- name: Setup Environment
|
- name: Setup Environment
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo "LANG=en_US.UTF-8" >> $GITHUB_ENV
|
echo "LANG=en_US.UTF-8" >> $GITHUB_ENV
|
||||||
echo "MAVEN_OPTS=-Daether.connector.http.connectionMaxTtl=180 -DautoReleaseAfterClose=true -DstagingProgressTimeoutMinutes=30" >> $GITHUB_ENV
|
echo "MAVEN_OPTS=-Daether.connector.http.connectionMaxTtl=180 -DautoReleaseAfterClose=true -DstagingProgressTimeoutMinutes=30" >> $GITHUB_ENV
|
||||||
echo "PMD_CI_SCRIPTS_URL=https://raw.githubusercontent.com/pmd/build-tools/master/scripts" >> $GITHUB_ENV
|
#echo "PMD_CI_SCRIPTS_URL=https://raw.githubusercontent.com/pmd/build-tools/master/scripts" >> $GITHUB_ENV
|
||||||
|
echo "PMD_CI_SCRIPTS_URL=https://raw.githubusercontent.com/adangel/build-tools/ruby3/scripts" >> $GITHUB_ENV
|
||||||
- name: Check Environment
|
- name: Check Environment
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
7
.github/workflows/troubleshooting.yml
vendored
7
.github/workflows/troubleshooting.yml
vendored
@ -27,16 +27,17 @@ jobs:
|
|||||||
key: v3-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
|
key: v3-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
v3-${{ runner.os }}-
|
v3-${{ runner.os }}-
|
||||||
- name: Set up Ruby 2.7
|
- name: Set up Ruby 3.3
|
||||||
uses: ruby/setup-ruby@v1
|
uses: ruby/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
ruby-version: 2.7
|
ruby-version: 3.3
|
||||||
- name: Setup Environment
|
- name: Setup Environment
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo "LANG=en_US.UTF-8" >> $GITHUB_ENV
|
echo "LANG=en_US.UTF-8" >> $GITHUB_ENV
|
||||||
echo "MAVEN_OPTS=-Daether.connector.http.connectionMaxTtl=180 -DstagingProgressTimeoutMinutes=30" >> $GITHUB_ENV
|
echo "MAVEN_OPTS=-Daether.connector.http.connectionMaxTtl=180 -DstagingProgressTimeoutMinutes=30" >> $GITHUB_ENV
|
||||||
echo "PMD_CI_SCRIPTS_URL=https://raw.githubusercontent.com/pmd/build-tools/master/scripts" >> $GITHUB_ENV
|
#echo "PMD_CI_SCRIPTS_URL=https://raw.githubusercontent.com/pmd/build-tools/master/scripts" >> $GITHUB_ENV
|
||||||
|
echo "PMD_CI_SCRIPTS_URL=https://raw.githubusercontent.com/adangel/build-tools/ruby3/scripts" >> $GITHUB_ENV
|
||||||
- name: Check Environment
|
- name: Check Environment
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
@ -202,6 +202,7 @@ The rules have been moved into categories with PMD 6.
|
|||||||
* [#4736](https://github.com/pmd/pmd/issues/4736): \[ci] Improve build procedure
|
* [#4736](https://github.com/pmd/pmd/issues/4736): \[ci] Improve build procedure
|
||||||
* [#4741](https://github.com/pmd/pmd/pull/4741): Add pmd-compat6 module for maven-pmd-plugin
|
* [#4741](https://github.com/pmd/pmd/pull/4741): Add pmd-compat6 module for maven-pmd-plugin
|
||||||
* [#4749](https://github.com/pmd/pmd/pull/4749): Fixes NoSuchMethodError on processing errors in pmd-compat6
|
* [#4749](https://github.com/pmd/pmd/pull/4749): Fixes NoSuchMethodError on processing errors in pmd-compat6
|
||||||
|
* [#4776](https://github.com/pmd/pmd/issues/4776): \[ci] Upgrade to ruby 3
|
||||||
* [#4796](https://github.com/pmd/pmd/pull/4796): Remove deprecated and release rulesets
|
* [#4796](https://github.com/pmd/pmd/pull/4796): Remove deprecated and release rulesets
|
||||||
* apex-performance
|
* apex-performance
|
||||||
* [#4675](https://github.com/pmd/pmd/issues/4675): \[apex] New Rule: OperationWithHighCostInLoop
|
* [#4675](https://github.com/pmd/pmd/issues/4675): \[apex] New Rule: OperationWithHighCostInLoop
|
||||||
@ -720,6 +721,7 @@ See also [Detailed Release Notes for PMD 7]({{ baseurl }}pmd_release_notes_pmd7.
|
|||||||
* [#4736](https://github.com/pmd/pmd/issues/4736): \[ci] Improve build procedure
|
* [#4736](https://github.com/pmd/pmd/issues/4736): \[ci] Improve build procedure
|
||||||
* [#4741](https://github.com/pmd/pmd/pull/4741): Add pmd-compat6 module for maven-pmd-plugin
|
* [#4741](https://github.com/pmd/pmd/pull/4741): Add pmd-compat6 module for maven-pmd-plugin
|
||||||
* [#4749](https://github.com/pmd/pmd/pull/4749): Fixes NoSuchMethodError on processing errors in pmd-compat6
|
* [#4749](https://github.com/pmd/pmd/pull/4749): Fixes NoSuchMethodError on processing errors in pmd-compat6
|
||||||
|
* [#4776](https://github.com/pmd/pmd/issues/4776): \[ci] Upgrade to ruby 3
|
||||||
* [#4796](https://github.com/pmd/pmd/pull/4796): Remove deprecated and release rulesets
|
* [#4796](https://github.com/pmd/pmd/pull/4796): Remove deprecated and release rulesets
|
||||||
* ant
|
* ant
|
||||||
* [#4080](https://github.com/pmd/pmd/issues/4080): \[ant] Split off Ant integration into a new submodule
|
* [#4080](https://github.com/pmd/pmd/issues/4080): \[ant] Split off Ant integration into a new submodule
|
||||||
|
Loading…
x
Reference in New Issue
Block a user