Jenkins can not use spcified profile


I would like to prepare the test for the application using .Net Web application which uses active directory for login authentication.

When I run test cases from Katalon studio using FIreFox, it worked fine.
However, when I run the same test cases from Jenkins Job, they failed.
Even after I specified profile to the default profile of my user account, Jenkins seemed to keep creating profile in temp directory and run on it. Due to the lack of preference, it failed to login.

FirefoxProfile profile =new FirefoxProfile(new File(“C:\Users\path to my user account profile”))
System.setProperty(‘webdriver.gecko.driver’, DriverFactory.getGeckoDriverPath())
DesiredCapabilities dc = DesiredCapabilities.firefox()
dc.setCapability(FirefoxDriver.PROFILE, profile)
WebDriver driver = new FirefoxDriver(dc)

Does anyone have a solution for this?