AL-Go
AL-Go copied to clipboard
Disabled BC instnace restarts when using ImportTestDataInBcContainer
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?
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
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.