mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-02-03 20:03:25 +01:00
Fixes (#10671)
This commit is contained in:
@@ -32,7 +32,7 @@ function update_script() {
|
|||||||
|
|
||||||
msg_info "Updating Jenkins"
|
msg_info "Updating Jenkins"
|
||||||
$STD apt update
|
$STD apt update
|
||||||
$STD apt -y upgrade
|
$STD apt upgrade -y
|
||||||
msg_ok "Updated Jenkins"
|
msg_ok "Updated Jenkins"
|
||||||
msg_ok "Updated successfully!"
|
msg_ok "Updated successfully!"
|
||||||
exit
|
exit
|
||||||
|
|||||||
@@ -13,11 +13,14 @@ network_check
|
|||||||
update_os
|
update_os
|
||||||
|
|
||||||
JAVA_VERSION="21" setup_java
|
JAVA_VERSION="21" setup_java
|
||||||
|
setup_deb822_repo \
|
||||||
|
"jenkins" \
|
||||||
|
"https://pkg.jenkins.io/debian/jenkins.io-2026.key" \
|
||||||
|
"https://pkg.jenkins.io/debian" \
|
||||||
|
"binary/" \
|
||||||
|
" "
|
||||||
|
|
||||||
msg_info "Setup Jenkins"
|
msg_info "Setup Jenkins"
|
||||||
curl -fsSL "https://pkg.jenkins.io/debian/jenkins.io-2023.key" -o "/usr/share/keyrings/jenkins-keyring.asc"
|
|
||||||
echo "deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc]" https://pkg.jenkins.io/debian binary/ >/etc/apt/sources.list.d/jenkins.list
|
|
||||||
$STD apt update
|
|
||||||
$STD apt install -y jenkins
|
$STD apt install -y jenkins
|
||||||
msg_ok "Setup Jenkins"
|
msg_ok "Setup Jenkins"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user