2017-06-05 04:17:40 +02:00
|
|
|
# Template file for 'jenkins'
|
|
|
|
pkgname=jenkins
|
2017-11-12 14:47:17 +01:00
|
|
|
version=2.89
|
2017-06-05 04:17:40 +02:00
|
|
|
revision=1
|
|
|
|
build_style=fetch
|
|
|
|
depends="virtual?java-runtime"
|
|
|
|
short_desc="Open source automation server"
|
|
|
|
maintainer="Renato Aguiar <renato@renag.me>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="https://jenkins.io/"
|
|
|
|
distfiles="http://mirrors.jenkins-ci.org/war/${version}/jenkins.war"
|
2017-11-12 14:47:17 +01:00
|
|
|
checksum=e7551f166479b54135e2255f42decc2cce7a28150e3d345dd28c8e049486b71d
|
2017-06-05 04:17:40 +02:00
|
|
|
# Create 'jenkins' user
|
|
|
|
system_accounts="jenkins"
|
|
|
|
jenkins_homedir="/var/lib/jenkins"
|
|
|
|
jenkins_shell="/bin/sh"
|
|
|
|
jenkins_descr="Jenkins server user"
|
|
|
|
make_dirs="/var/lib/jenkins 0755 jenkins jenkins"
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vinstall jenkins.war 644 opt/jenkins
|
|
|
|
vsv jenkins
|
|
|
|
vlicense ${FILESDIR}/LICENSE
|
|
|
|
}
|