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