Skip to content

Commit

Permalink
Add double quotes to find expression
Browse files Browse the repository at this point in the history
  • Loading branch information
Haroon-Khel committed Dec 16, 2024
1 parent 51e6144 commit 8d561b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipelines/build/common/sign_temurin_jsf.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ stage('Signing SBOM') {
// Sign SBOMS
sh '''
cd artifacts
for ARTIFACT in $(find . -name *sbom*.json | grep -v metadata.json); do
for ARTIFACT in $(find . -name "*sbom*.json" | grep -v metadata.json); do
echo "Signing ${ARTIFACT}"
java -cp "cyclonedx-lib/build/jar/*" temurin.sbom.TemurinSignSBOM --verbose --signSBOM --jsonFile "${ARTIFACT}" --privateKeyFile "$PRIVATE_KEY"
Expand Down

0 comments on commit 8d561b3

Please sign in to comment.