@ShreyaKamath,
If you start the regular Blue Prism software UI, do you see your Jenkins DB connection listed in the drop down for connections? If so, try placing the /dbconname parameter as the first in your command line string and see if that makes a difference (i.e. /dbconname <connection name> /user <username> <password> /exportpackage <package name>).
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------