After asking a previous question about how to digitally sign an Advanced Installer package in a Jenkins pipeline (script), I implemented the use of the command file from a script as shown:
Code: Select all
AdvancedInstaller.com /execute <path_to_project_file> <command_file_path> [-nofail]
Code: Select all
SetAzureKeyVaultSecret AzureKeyVaultSecret -secret_is_env_var_name
Is there any way to digitally sign an Advanced Installer package via a Jenkins pipeline script and keep the Azure Key Vault Secret a secret?>AdvancedInstaller.com /execute TestProject.aip aicommandfile.txt
SetAzureKeyVaultSecret AzureKeyVaultSecret -secret_is_env_var_name
Save
Rebuild
Checking builds status
Build required.
[ DefaultBuild ]
Building package: [...]TestProject_Setup.exe
Prepare build
Detecting MSI incompatible resources
Preparing files
Unable to get Azure Sign token. AADSTS7000216: 'client_assertion', 'client_secret' or 'request' is required for the 'client_credentials' grant type.
Trace ID: 358c3bee-a3d7-417e-a578-6486db90c100
Correlation ID: 6d87449a-8c93-4ba0-8087-2b163ec1b750
Timestamp: 2023-09-13 23:17:54Z
Build finished because an error was encountered.
Any help is appreciated.