mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
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:
parent
0675118dbf
commit
b53f626e0c
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user