AL-Go icon indicating copy to clipboard operation
AL-Go copied to clipboard

Disabled BC instnace restarts when using ImportTestDataInBcContainer

Open gntpet opened this issue 2 years ago • 1 comments

Hey there,

When using custom ImportTestDataInBcContainer, I still see that pipeline triggers server restart, which is not needed in our case. Would it be possible to disable it?

image

My custom ImportTestDataInBcContainer looks like this:

Param([Hashtable]$parameters) 
New-CompanyInBcContainer  -containerName $parameters.containerName -tenant $parameters.tenant -companyName "TNM Automated Test"
Invoke-NavContainerCodeunit -containerName $parameters.containerName -tenant $parameters.tenant -CompanyName "TNM Automated Test" -Codeunitid 2 6> $null    

gntpet avatar Oct 06 '23 04:10 gntpet

If you set EnableTaskScheduler to true in your repository or project settings, then it shouldn't restart the service tier to enable the task scheduler.

freddydk avatar Oct 11 '23 14:10 freddydk