Skip to content

Commit

Permalink
Merge pull request #940 from ashitsalesforce/master
Browse files Browse the repository at this point in the history
minor change to test execution script
  • Loading branch information
ashitsalesforce authored Jan 11, 2024
2 parents edd894a + cf46fd1 commit 9e6dc92
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion runtests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,13 @@ if [ ! -d ./target ]; then
mvn package -Dmaven.test.skip=true
fi

jarname="$(find ./target -name dataloader-[0-9][0-9].[0-9].[0-9].jar | tail -1)"
jarname="$(find ./target -name 'dataloader-[0-9][0-9].[0-9].[0-9].jar' | tail -1)"
#echo "password = ${4}"
encryptedPassword="$(java ${debugEncryption} -cp ${jarname} com.salesforce.dataloader.process.DataLoaderRunner run.mode=encrypt -e ${4} ${encryptionFile} | tail -1)"

# uncomment the following lines to debug issues with password encryption
#echo "encryptedPassword = ${encryptedPassword}"
#decryptedPassword="$(java ${debugEncryption} -cp ${jarname} com.salesforce.dataloader.process.DataLoaderRunner run.mode=encrypt -d ${encryptedPassword} ${encryptionFile} | tail -1)"
#echo "decryptedPassword = ${decryptedPassword}"

mvn ${failfast} -Dtest.endpoint=${1} -Dtest.user.default=${2} -Dtest.user.restricted=${3} -Dtest.password=${encryptedPassword} -Dtest.encryptionFile=${encryptionFile} verify ${debug} ${test}

0 comments on commit 9e6dc92

Please sign in to comment.