It is successfully able to compile a project using the AsProjectCompile.py from GitHub - BnR-Jenkins-Helper-Library. However, when I add the flag to build a Project Install Package using it, no additional PIP files are generated.
Upon further testing manually executing the PVI transfer command inside the docker container, no additional PIP files are generated, but the program returns instantly with no error code or console output (running C:\BrAutomation\PVI\V4.12\PVI\Tools\\PVITransfer\PVITransfer.exe -silent "C:\br_project\CreatePIP.pil”).
As further debugging, I have also copied the compiled binaries/RUC out of the docker container and onto the host and it seems to successfully generate a PIP using the same command.
Thanks for the quick response! I had tried that and unfortunately saw the same result. The program returned quickly, with no console output and no files generated.
If there is more testing I can do though, please let me know.
I have tried to do this, however received the error code -1073741515. I receive this even when I intentionally supply an invalid filename.
I believe this may correspond to STATUS_DLL_NOT_FOUND? I did attempt to look into this further, using this DLL dependency tool. This suggested that the missing DLLs are related to graphics DLLs unavailable in docker (oledlg.dll and gdiplus.dll)??
I am not sure if the DLL missing is on the right track, but please let me know if there is anything else I can look into!
#COPY from C:\Windows\SysWOW64\ into dlls folder
COPY dlls/* C:/Windows/SysWow64/
RUN Start-Process C:/Windows/SysWOW64/regsvr32.exe -ArgumentList '/S','C:\Windows\SysWow64\oledlg.dll'
RUN Start-Process C:/Windows/SysWOW64/regsvr32.exe -ArgumentList '/S','C:\Windows\SysWow64\GdiPlus.dll'
RUN Start-Process C:/Windows/SysWOW64/regsvr32.exe -ArgumentList '/S','C:\Windows\SysWow64\msxml4.dll'
RUN Start-Process C:/Windows/SysWOW64/regsvr32.exe -ArgumentList '/S','C:\Windows\SysWow64\msxml4r.dll'