R2025b Polyspace_Server is silently failing to install
The script below works perfectly locally on an Ubuntu mechine but it refuses to work when called in a Jenkins job.We tried both freestyle and scripted pipelines but always fails on Jenkins.
It fails in Jenkins silently without any clues in the log polyspaceServerOut/install-psserver.log has the contents of installer_input.txt but nothing after that. There is no indication of why it’s not installing the products. and the log PolyTemp/mathworks_xxx.log is empty with zero siize. I am not sure how to debug the problem with empty logs
#!/bin/bash -x
curl to download the bundle from JFrog R2025b_Polyspace_Server_Linux.zip (Works)
unzip -q R2025b_Polyspace_Server_Linux.zip (Works)
unzip -q R2025b/2025_10_06_15_25_35/matlab_R2025b_Linux.zip -d R2025b/2025_10_06_15_25_35 (Works)
mv R2025b/2025_10_06_15_25_35 polyspace_server_installer (Works)
chmod -R 755 polyspace_server_installer (Works)
export TMPDIR=<absolute_path>/PolyTemp (Works)
mkdir -p ${TMPDIR} (Works)
polyspace_server_installer/install -v -inputFile <absolute_path>/polyspace_server_installer/installer_input.txt
The file installer_input.txt has the following entries
agreeToLicense = yes
product.Polyspace_Bug_Finder_Server
product.Polyspace_Code_Prover_Server
mode = silent
fileInstallationKey = XXXXX-XXXXX-XXXXX-XXXXX
licensePath = <absolute_path>/polyspaceServer.lic
destinationFolder = <absolute_path>/polyspaceServer
outputFile = <absolute_path>/polyspaceServerOut/install-psserver.log
improveMATLAB = no
The file polyspaceServer.lic has the following entries
SERVER <host_server> XXXXXXXXXXXX XXXX
USE_SERVER
P.S. The exact same commands currently work fine locally and in Jenkins for 2024bThe script below works perfectly locally on an Ubuntu mechine but it refuses to work when called in a Jenkins job.We tried both freestyle and scripted pipelines but always fails on Jenkins.
It fails in Jenkins silently without any clues in the log polyspaceServerOut/install-psserver.log has the contents of installer_input.txt but nothing after that. There is no indication of why it’s not installing the products. and the log PolyTemp/mathworks_xxx.log is empty with zero siize. I am not sure how to debug the problem with empty logs
#!/bin/bash -x
curl to download the bundle from JFrog R2025b_Polyspace_Server_Linux.zip (Works)
unzip -q R2025b_Polyspace_Server_Linux.zip (Works)
unzip -q R2025b/2025_10_06_15_25_35/matlab_R2025b_Linux.zip -d R2025b/2025_10_06_15_25_35 (Works)
mv R2025b/2025_10_06_15_25_35 polyspace_server_installer (Works)
chmod -R 755 polyspace_server_installer (Works)
export TMPDIR=<absolute_path>/PolyTemp (Works)
mkdir -p ${TMPDIR} (Works)
polyspace_server_installer/install -v -inputFile <absolute_path>/polyspace_server_installer/installer_input.txt
The file installer_input.txt has the following entries
agreeToLicense = yes
product.Polyspace_Bug_Finder_Server
product.Polyspace_Code_Prover_Server
mode = silent
fileInstallationKey = XXXXX-XXXXX-XXXXX-XXXXX
licensePath = <absolute_path>/polyspaceServer.lic
destinationFolder = <absolute_path>/polyspaceServer
outputFile = <absolute_path>/polyspaceServerOut/install-psserver.log
improveMATLAB = no
The file polyspaceServer.lic has the following entries
SERVER <host_server> XXXXXXXXXXXX XXXX
USE_SERVER
P.S. The exact same commands currently work fine locally and in Jenkins for 2024b The script below works perfectly locally on an Ubuntu mechine but it refuses to work when called in a Jenkins job.We tried both freestyle and scripted pipelines but always fails on Jenkins.
It fails in Jenkins silently without any clues in the log polyspaceServerOut/install-psserver.log has the contents of installer_input.txt but nothing after that. There is no indication of why it’s not installing the products. and the log PolyTemp/mathworks_xxx.log is empty with zero siize. I am not sure how to debug the problem with empty logs
#!/bin/bash -x
curl to download the bundle from JFrog R2025b_Polyspace_Server_Linux.zip (Works)
unzip -q R2025b_Polyspace_Server_Linux.zip (Works)
unzip -q R2025b/2025_10_06_15_25_35/matlab_R2025b_Linux.zip -d R2025b/2025_10_06_15_25_35 (Works)
mv R2025b/2025_10_06_15_25_35 polyspace_server_installer (Works)
chmod -R 755 polyspace_server_installer (Works)
export TMPDIR=<absolute_path>/PolyTemp (Works)
mkdir -p ${TMPDIR} (Works)
polyspace_server_installer/install -v -inputFile <absolute_path>/polyspace_server_installer/installer_input.txt
The file installer_input.txt has the following entries
agreeToLicense = yes
product.Polyspace_Bug_Finder_Server
product.Polyspace_Code_Prover_Server
mode = silent
fileInstallationKey = XXXXX-XXXXX-XXXXX-XXXXX
licensePath = <absolute_path>/polyspaceServer.lic
destinationFolder = <absolute_path>/polyspaceServer
outputFile = <absolute_path>/polyspaceServerOut/install-psserver.log
improveMATLAB = no
The file polyspaceServer.lic has the following entries
SERVER <host_server> XXXXXXXXXXXX XXXX
USE_SERVER
P.S. The exact same commands currently work fine locally and in Jenkins for 2024b installation, bug finder server, code prover server MATLAB Answers — New Questions









