jenkins: 2.462.3 -> 2.479.2 (#360869)

Fixes CVE-2024-47855.
https://www.jenkins.io/security/advisory/2024-11-27/#SECURITY-3463

Changelog:
https://www.jenkins.io/changelog-stable/#v2.479.2
This commit is contained in:
Thomas Gerbet 2024-12-10 05:57:39 +01:00 committed by GitHub
parent 0675118dbf
commit b53f626e0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,11 +4,11 @@
stdenv.mkDerivation rec {
pname = "jenkins";
version = "2.462.3";
version = "2.479.2";
src = fetchurl {
url = "https://get.jenkins.io/war-stable/${version}/jenkins.war";
hash = "sha256-PlO1KoFkBeOxCtB/HEjNDLXLP4kyB+9/neKEFYBrk8E=";
hash = "sha256-F3wsAz8NOuQUjmAdD9raYBEtg/JQUh86Cg/ZfLsTjb0=";
};
nativeBuildInputs = [ makeWrapper ];
@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
if [ ! "$oldVersion" = "$version" ]; then
update-source-version jenkins "$version" "$hash"
nixpkgs="$(git rev-parse --show-toplevel)"
default_nix="$nixpkgs/pkgs/development/tools/continuous-integration/jenkins/default.nix"
default_nix="$nixpkgs/pkgs/by-name/je/jenkins/package.nix"
nixfmt "$default_nix"
else
echo "jenkins is already up-to-date"