2014-02-10 12:07:12 -08:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "jenkins";
|
2020-07-28 06:59:03 -07:00
|
|
|
version = "2.235.3";
|
2014-02-10 12:07:12 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-02-14 06:07:08 -08:00
|
|
|
url = "http://mirrors.jenkins.io/war-stable/${version}/jenkins.war";
|
2020-07-28 06:59:03 -07:00
|
|
|
sha256 = "109rycgy8bg3na173vz5f3bq7w33a6kap8158kx6zhignni451p8";
|
2014-02-10 12:07:12 -08:00
|
|
|
};
|
2016-07-15 05:45:23 -07:00
|
|
|
|
|
|
|
buildCommand = ''
|
2016-07-15 07:57:16 -07:00
|
|
|
mkdir -p "$out/webapps"
|
|
|
|
cp "$src" "$out/webapps/jenkins.war"
|
2016-07-15 05:45:23 -07:00
|
|
|
'';
|
|
|
|
|
2014-09-08 08:05:15 -07:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An extendable open source continuous integration server";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://jenkins-ci.org";
|
2014-09-08 08:05:15 -07:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
2017-11-07 06:56:37 -08:00
|
|
|
maintainers = with maintainers; [ coconnor fpletz earldouglas ];
|
2014-02-10 12:07:12 -08:00
|
|
|
};
|
|
|
|
}
|