Fixed install path.
All checks were successful
homepanel/HomePanel/pipeline/head This commit looks good

This commit is contained in:
Tom Butcher 2026-02-01 23:40:15 +00:00
parent 06b5dcedbe
commit 83bbe211de

15
Jenkinsfile vendored
View File

@ -70,24 +70,15 @@ def deploy() {
cleanRemote: false,
excludes: '',
execCommand: '''
# Ensure the file was transferred correctly
if [ -f /srv/homepanel/homepanel ]; then
chmod +x /srv/homepanel/homepanel
sudo systemctl restart homepanel
else
echo "ERROR: Binary not found at /srv/homepanel/homepanel"
echo "Checking alternative locations..."
ls -la /srv/homepanel/ || echo "/srv/homepanel does not exist"
ls -la /home/ci/srv/homepanel/ || echo "/home/ci/srv/homepanel does not exist"
exit 1
fi
chmod +x /srv/homepanel/homepanel
sudo systemctl restart homepanel
''',
execTimeout: 120000,
flatten: true,
makeEmptyDirs: true,
noDefaultExcludes: false,
patternSeparator: '[, ]+',
remoteDirectory: '/srv/homepanel',
remoteDirectory: '../../srv/homepanel',
remoteDirectorySDF: false,
removePrefix: 'dist',
sourceFiles: 'dist/homepanel'