forked from mirrors/nixpkgs
Merge pull request #222326 from helsinki-systems/upd/jenkins
jenkins: 2.375.3 -> 2.387.1
This commit is contained in:
commit
5f6853dde9
|
@ -4,11 +4,11 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "jenkins";
|
||||
version = "2.375.3";
|
||||
version = "2.387.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://get.jenkins.io/war-stable/${version}/jenkins.war";
|
||||
hash = "sha256-1WBl8eXEMj/sNqlqv3cQskUeNLxPudoXnn3xKaTMwaw=";
|
||||
hash = "sha256-wTKh4AtoWvx5luulML5CijJ5xkk5lBf5+jj8vA2+wCc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
@ -51,11 +51,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
version="$(jq -r .version <<<$core_json)"
|
||||
sha256="$(jq -r .sha256 <<<$core_json)"
|
||||
hash="$(nix-hash --type sha256 --to-base32 "$sha256")"
|
||||
url="$(jq -r .url <<<$core_json)"
|
||||
hash="$(nix hash to-sri --type sha256 "$sha256")"
|
||||
|
||||
if [ ! "$oldVersion" = "$version" ]; then
|
||||
update-source-version jenkins "$version" "$hash" "$url"
|
||||
update-source-version jenkins "$version" "$hash"
|
||||
nixpkgs="$(git rev-parse --show-toplevel)"
|
||||
default_nix="$nixpkgs/pkgs/development/tools/continuous-integration/jenkins/default.nix"
|
||||
nixfmt "$default_nix"
|
||||
|
|
Loading…
Reference in a new issue