-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3052 from mercedes-benz/feature-2773-fsb-java21
FindSecurityBugs works with java 21 #2773
- Loading branch information
Showing
8 changed files
with
163 additions
and
50 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
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
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,2 +1,3 @@ | ||
copy/** | ||
!copy/README.adoc | ||
/install-java |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env sh | ||
# SPDX-License-Identifier: MIT | ||
|
||
GIT_URL="$1" | ||
BRANCH="$2" | ||
TAG="$3" | ||
|
||
if [ -z "$GIT_URL" ] | ||
then | ||
echo "No Git url provided" 1>&2 | ||
exit 1 | ||
fi | ||
|
||
git_args="" | ||
|
||
if [ ! -z "$TAG" ] | ||
then | ||
echo "Tag: $TAG" | ||
git_args="--branch $TAG" | ||
elif [ ! -z "$BRANCH" ] | ||
then | ||
echo "Branch: $BRANCH" | ||
git_args="--branch $BRANCH" | ||
else | ||
echo "Cloning default branch" | ||
fi | ||
|
||
git clone --depth 1 $git_args "$GIT_URL" |
2 changes: 1 addition & 1 deletion
2
sechub-pds-solutions/findsecuritybugs/docker/findsecbugs_sechub.sh
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,8 +1,4 @@ | ||
# See: https://github.com/find-sec-bugs/find-sec-bugs/releases | ||
FINDSECURITYBUGS_VERSION="1.12.0" | ||
|
||
# The base image to use | ||
# uncomment to use local image | ||
# BASE_IMAGE="pds-base_pds" | ||
BASE_IMAGE="ghcr.io/mercedes-benz/sechub/pds-base" | ||
|
||
# The FindSecurityBugs version to use. See: https://github.com/find-sec-bugs/find-sec-bugs/releases | ||
FINDSECURITYBUGS_VERSION="1.13.0" | ||
# The Spotbugs version to use. See https://github.com/spotbugs/spotbugs/releases | ||
SPOTBUGS_VERSION="4.8.3" |