mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
Merge pull request #48312 from bchallenor/jenkins
jenkins: 2.138.1 -> 2.138.2
This commit is contained in:
commit
63c116bc6f
@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "jenkins-${version}";
|
||||
version = "2.138.1";
|
||||
version = "2.138.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://mirrors.jenkins.io/war-stable/${version}/jenkins.war";
|
||||
sha256 = "09svkqii9lv1br0al6wjn1l0fsqf6s7fdrfc0awmfsg8fmjlpf7c";
|
||||
sha256 = "10qyr8izngnhlr1b03a9vdnbmwprbqsjnd55hjdalmxy6dq5mvfq";
|
||||
};
|
||||
|
||||
buildCommand = ''
|
||||
|
13
pkgs/development/tools/continuous-integration/jenkins/update.sh
Executable file
13
pkgs/development/tools/continuous-integration/jenkins/update.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p curl common-updater-scripts jq
|
||||
|
||||
set -eu -o pipefail
|
||||
|
||||
core_json="$(curl --fail --location https://updates.jenkins.io/stable/update-center.actual.json | jq .core)"
|
||||
|
||||
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)"
|
||||
|
||||
update-source-version jenkins "$version" "$hash" "$url"
|
Loading…
Reference in New Issue
Block a user