parent
3d179713a8
commit
40b55da338
|
|
@ -181,14 +181,14 @@ EOF
|
|||
sshPut remote: remote, from: "${env.DEB_PATH_RISCV64}", into: "/home/user/repo/debs/"
|
||||
|
||||
echo "Running repository update commands via sshCommand..."
|
||||
sshCommand remote: remote, command: """
|
||||
sshCommand remote: remote, command: '''
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
cd /home/user/repo/debs/
|
||||
for deb in *.deb; do
|
||||
reprepro -b /var/www/deb/debian/ includedeb stable $deb
|
||||
done
|
||||
rm -f *.deb
|
||||
"""
|
||||
'''
|
||||
|
||||
echo "Deb packages successfully uploaded and added to the repository!"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue