diff --git a/ansible/pbTestScripts/buildJDK.sh b/ansible/pbTestScripts/buildJDK.sh
index eb6375e12f..5eb3c4a1b6 100755
--- a/ansible/pbTestScripts/buildJDK.sh
+++ b/ansible/pbTestScripts/buildJDK.sh
@@ -191,4 +191,5 @@ echo "buildJDK.sh DEBUG:
 cloneRepo
 
 cd $WORKSPACE/openjdk-build
+export BUILD_ARGS=--create-sbom
 build-farm/make-adopt-build-farm.sh
diff --git a/ansible/pbTestScripts/buildJDKWin.sh b/ansible/pbTestScripts/buildJDKWin.sh
index 7794b9b213..9a20f03502 100755
--- a/ansible/pbTestScripts/buildJDKWin.sh
+++ b/ansible/pbTestScripts/buildJDKWin.sh
@@ -131,4 +131,5 @@ echo "buildJDKWin.sh DEBUG:
 	FILENAME=${FILENAME:-}"
 
 echo "Running $WORKSPACE/openjdk-build/build-farm/make-adopt-build-farm.sh"
+export BUILD_ARGS=--create-sbom
 $WORKSPACE/openjdk-build/build-farm/make-adopt-build-farm.sh