'The source folder "c:\test\test" of the synchronized folder "APPDIR" is missing from disk error in advanced installer jenkins plug in build

We are using advanced installer 9.7 .

We are using Jenkins to create builds but we are facing the below issue with jenkins plug in-

I tried all online resources but had no luck please help to fix this.

Running as SYSTEM Building on master in workspace D:\JenkinsWorkspaces\jobname $ "C:\Program Files (x86)\Jenkins\tools\caphyon.jenkins.advinst.AdvinstInstallation\Advanced_Installer_-app\bin\x86\AdvancedInstaller.com" /Register ******** [jobname] $ "C:\Program Files (x86)\Jenkins\tools\caphyon.jenkins.advinst.AdvinstInstallation\Advanced_Installer-_app\bin\x86\AdvancedInstaller.com" /execute "C:\Source\Advanced Installer\projectname.aip" "D:\JenkinsWorkspaces\foldername\aic8583942971418633890aic"



Solution 1:[1]

In my case, adding the "clean" options when running the build, solved the issue.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Luca Perico