New package: jenkins-2.65
This commit is contained in:
parent
1265dfb85f
commit
dd51156e75
|
@ -0,0 +1,22 @@
|
|||
The MIT License
|
||||
|
||||
Copyright (c) 2004-, Kohsuke Kawaguchi, Sun Microsystems, Inc., and a number of other of contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
. /etc/profile
|
||||
[ -r conf ] && . ./conf
|
||||
|
||||
export JENKINS_USER=jenkins
|
||||
export JENKINS_HOME=/var/lib/jenkins
|
||||
|
||||
cd /
|
||||
unset OLDPWD
|
||||
|
||||
exec chpst -u jenkins:jenkins java -Xmx512m -jar /opt/jenkins/jenkins.war $OPTS
|
|
@ -0,0 +1,24 @@
|
|||
# Template file for 'jenkins'
|
||||
pkgname=jenkins
|
||||
version=2.65
|
||||
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"
|
||||
checksum=2652cd93906855be034d0c1cdd8ced4eacb158a70ec686bc789428b43343af79
|
||||
# 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
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
site='http://mirrors.jenkins-ci.org/war/'
|
||||
pattern='<a[^>]*>\K[\d.]+(?=/</a>)'
|
Loading…
Reference in New Issue