Skip to content

Setup allstar ignore file for binary files - #2324

Merged
suztomo merged 6 commits into
masterfrom
allstar_ignore_file
Jan 30, 2023
Merged

suztomo merged 6 commits into
masterfrom
allstar_ignore_file

Conversation

@suztomo

@suztomo suztomo commented Jan 24, 2023 •

Copy link
Copy Markdown
Contributor

Fixes #2322. Following http://go/allstar#faq instructions. This repository has binary files it uses for tests.

  • Adjusting Allstar binary file alerts
  • Not to add Maven wrapper JAR file

@suztomo suztomo changed the title allstar ignore file Setup allstar ignore file for binary files Jan 24, 2023
Comment on lines +3 to +4
- enforcer-rules/src/test/resources/dummy-0.0.1.jar
- example-problems/gradle-project/build/classes/java/main/App.class

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The automation has been complaining the two files that this repository uses for tests
#2322

@suztomo

suztomo commented Jan 24, 2023

Copy link
Copy Markdown
Contributor Author

kokoro-macos failed due to Java 14...

[ERROR] Command line was: /Library/Java/JavaVirtualMachines/jdk-14.0.1.jdk/Contents/Home/bin/javadoc @options @packages
[ERROR] 
[ERROR] Refer to the generated Javadoc files in '/Volumes/BuildData/tmpfs/src/github/cloud-opensource-java/dependencies/target/apidocs' dir.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 

Checking how to use Java 11 there.

@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Comment thread kokoro/continuous.sh
cd github/cloud-opensource-java

./mvnw -V -B -ntp clean install javadoc:jar
./mvnw -V -B -ntp clean install -Djavadoc.skip

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't publish javadoc. This is failing with Java 14 on MacOS.

@suztomo
suztomo merged commit 344dc70 into master Jan 30, 2023
@suztomo
suztomo deleted the allstar_ignore_file branch June 26, 2023 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Security Policy violation Binary Artifacts

5 participants