2017-06-05 02:17:40 +00:00
|
|
|
# Template file for 'jenkins'
|
|
|
|
pkgname=jenkins
|
2017-08-21 22:33:22 +00:00
|
|
|
version=2.75
|
2017-06-05 02:17:40 +00: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-08-21 22:33:22 +00:00
|
|
|
checksum=56cc5d3152ed7d4dffa1fd5bfbebd1b91a71724dfd2bc318e649d9a7f3e601ef
|
2017-06-05 02:17:40 +00: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
|
|
|
|
}
|