提交 d8808497 编写于 作者: K Kohsuke Kawaguchi

renaming debian package.

上级 4e7a644a
......@@ -22,10 +22,10 @@
# THE SOFTWARE.
if [ -z "$1" ]; then
echo "Usage: build.sh path/to/hudson.war"
echo "Usage: build.sh path/to/jenkins.war"
exit 1
fi
cp "$1" hudson.war
cp "$1" jenkins.war
exec debuild -us -uc -B
The Debian Package hudson
The Debian Package jenkins
----------------------------
Comments regarding the Package
......
此差异已折叠。
Source: hudson
Source: jenkins
Section: devel
Priority: extra
Maintainer: Kohsuke Kawaguchi <kk@kohsuke.org>
Build-Depends: debhelper (>= 5)
Standards-Version: 3.7.2
Homepage: https://hudson.dev.java.net/
Homepage: https://jenkins-ci.org/
Package: hudson
Package: jenkins
Architecture: all
Depends: ${shlibs:Depends}, ${misc:Depends}, daemon, adduser, java-virtual-machine, java2-runtime, psmisc
Description: Continuous integration system written in Java
Hudson is an extensible continuous engine written in Java.
Jenkins is an extensible continuous engine written in Java.
#
# Regular cron jobs for the hudson package
# Regular cron jobs for the jenkins package
#
0 4 * * * root hudson_maintenance
0 4 * * * root jenkins_maintenance
......@@ -2,13 +2,15 @@ usr/bin
usr/sbin
# moved from rules install
usr/share/hudson
usr/share/jenkins
# this is where HUDSON_HOME is stored, so let's leave it as is for now
var/lib/hudson
# Need to create hudson's own directory to track the pid since the daemon is not run as root
# Need to create jenkins's own directory to track the pid since the daemon is not run as root
# and doesn't have permission to write the pid to /var/run (which would be the preferred location).
var/run/hudson
var/run/jenkins
# Store hudson log file in it's own directory since they can become rather large and in the future
# Store jenkins log file in it's own directory since they can become rather large and in the future
# rotating logs can be easily added.
var/log/hudson
var/log/jenkins
#! /bin/sh -e
# /usr/lib/emacsen-common/packages/install/hudson
# Written by Jim Van Zandt <jrv@debian.org>, borrowing heavily
# from the install scripts for gettext by Santiago Vila
# <sanvila@ctv.es> and octave by Dirk Eddelbuettel <edd@debian.org>.
FLAVOR=$1
PACKAGE=hudson
if [ ${FLAVOR} = emacs ]; then exit 0; fi
echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
#FLAVORTEST=`echo $FLAVOR | cut -c-6`
#if [ ${FLAVORTEST} = xemacs ] ; then
# SITEFLAG="-no-site-file"
#else
# SITEFLAG="--no-site-file"
#fi
FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
# Install-info-altdir does not actually exist.
# Maybe somebody will write it.
if test -x /usr/sbin/install-info-altdir; then
echo install/${PACKAGE}: install Info links for ${FLAVOR}
install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/share/info/${PACKAGE}.info.gz
fi
install -m 755 -d ${ELCDIR}
cd ${ELDIR}
FILES=`echo *.el`
cp ${FILES} ${ELCDIR}
cd ${ELCDIR}
cat << EOF > path.el
(setq load-path (cons "." load-path) byte-compile-warnings nil)
EOF
${FLAVOR} ${FLAGS} ${FILES}
rm -f *.el path.el
exit 0
#!/bin/sh -e
# /usr/lib/emacsen-common/packages/remove/hudson
FLAVOR=$1
PACKAGE=hudson
if [ ${FLAVOR} != emacs ]; then
if test -x /usr/sbin/install-info-altdir; then
echo remove/${PACKAGE}: removing Info links for ${FLAVOR}
install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/share/info/hudson.info.gz
fi
echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
fi
;; -*-emacs-lisp-*-
;;
;; Emacs startup file, e.g. /etc/emacs/site-start.d/50hudson.el
;; for the Debian hudson package
;;
;; Originally contributed by Nils Naumann <naumann@unileoben.ac.at>
;; Modified by Dirk Eddelbuettel <edd@debian.org>
;; Adapted for dh-make by Jim Van Zandt <jrv@debian.org>
;; The hudson package follows the Debian/GNU Linux 'emacsen' policy and
;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
;; xemacs19, emacs20, xemacs20...). The compiled code is then
;; installed in a subdirectory of the respective site-lisp directory.
;; We have to add this to the load-path:
(let ((package-dir (concat "/usr/share/"
(symbol-name flavor)
"/site-lisp/hudson")))
;; If package-dir does not exist, the hudson package must have
;; removed but not purged, and we should skip the setup.
(when (file-directory-p package-dir)
(setq load-path (cons package-dir load-path))
(autoload 'hudson-mode "hudson-mode"
"Major mode for editing hudson files." t)
(add-to-list 'auto-mode-alist '("\\.hudson$" . hudson-mode))))
Document: hudson
Title: Debian hudson Manual
Author: <insert document author here>
Abstract: This manual describes what hudson is
and how it can be used to
manage online manuals on Debian systems.
Section: unknown
Format: debiandoc-sgml
Files: /usr/share/doc/hudson/hudson.sgml.gz
Format: postscript
Files: /usr/share/doc/hudson/hudson.ps.gz
Format: text
Files: /usr/share/doc/hudson/hudson.text.gz
Format: HTML
Index: /usr/share/doc/hudson/html/index.html
Files: /usr/share/doc/hudson/html/*.html
deb http://pkg.hudson-labs.org/debian binary/
# defaults for hudson continuous integration server
# defaults for jenkins continuous integration server
# pulled in from the init script; makes things easier.
NAME=hudson
NAME=jenkins
# location of java
JAVA=/usr/bin/java
......@@ -9,24 +9,24 @@ JAVA=/usr/bin/java
# arguments to pass to java
#JAVA_ARGS="-Xmx256m"
PIDFILE=/var/run/hudson/hudson.pid
PIDFILE=/var/run/jenkins/jenkins.pid
# user id to be invoked as (otherwise will run as root; not wise!)
HUDSON_USER=hudson
JENKINS_USER=hudson
# location of the hudson war file
HUDSON_WAR=/usr/share/hudson/hudson.war
# location of the jenkins war file
JENKINS_WAR=/usr/share/jenkins/jenkins.war
# hudson home location
HUDSON_HOME=/var/lib/hudson
JENKINS_HOME=/var/lib/hudson
# set this to false if you don't want Hudson to run by itself
# in this set up, you are expected to provide a servlet containr
# to host hudson.
# to host jenkins.
RUN_STANDALONE=true
# log location. this may be a syslog facility.priority
HUDSON_LOG=/var/log/hudson/$NAME.log
JENKINS_LOG=/var/log/jenkins/$NAME.log
#HUDSON_LOG=daemon.info
# OS LIMITS SETUP
......@@ -42,12 +42,12 @@ HTTP_PORT=8080
# port for AJP connector (disabled by default)
AJP_PORT=-1
# arguments to pass to hudson.
# arguments to pass to jenkins.
# --javahome=$JAVA_HOME
# --httpPort=$HTTP_PORT (default 8080; disable with -1)
# --httpsPort=$HTTP_PORT
# --ajp13Port=$AJP_PORT
# --argumentsRealm.passwd.$ADMIN_USER=[password]
# --argumentsRealm.$ADMIN_USER=admin
# --webroot=~/.hudson/war
HUDSON_ARGS="--webroot=/var/run/hudson/war --httpPort=$HTTP_PORT --ajp13Port=$AJP_PORT"
# --webroot=~/.jenkins/war
JENKINS_ARGS="--webroot=/var/run/jenkins/war --httpPort=$HTTP_PORT --ajp13Port=$AJP_PORT"
#!/bin/bash
# /etc/init.d/hudson
# debian-compatible hudson startup script.
# /etc/init.d/jenkins
# debian-compatible jenkins startup script.
# Amelia A Lewis <alewis@ibco.com>
#
### BEGIN INIT INFO
# Provides: hudson
# Provides: jenkins
# Required-Start: $remote_fs $syslog $network
# Required-Stop: $remote_fs $syslog $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start hudson at boot time
# Description: Controls the hudson continuous integration engine.
# Short-Description: Start jenkins at boot time
# Description: Controls the jenkins continuous integration engine.
### END INIT INFO
PATH=/bin:/usr/bin:/sbin:/usr/sbin
DESC="Hudson Continuous Integration Server"
NAME=hudson
DESC="Jenkins Continuous Integration Server"
NAME=jenkins
SCRIPTNAME=/etc/init.d/$NAME
# load hudson config file for backward compatibility if it exists
[ -r /etc/default/hudson ] && . /etc/default/hudson
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
#DAEMON=$HUDSON_SH
#DAEMON=$JENKINS_SH
DAEMON=/usr/bin/daemon
DAEMON_ARGS="--name=$NAME --inherit --env=HUDSON_HOME=$HUDSON_HOME --output=$HUDSON_LOG --pidfile=$PIDFILE"
DAEMON_ARGS="--name=$NAME --inherit --env=HUDSON_HOME=$JENKINS_HOME --output=$JENKINS_LOG --pidfile=$PIDFILE"
SU=/bin/su
......@@ -82,20 +84,20 @@ check_tcp_port() {
#
do_start()
{
# the default location is /var/run/hudson/hudson.pid but the parent directory needs to be created
# the default location is /var/run/jenkins/jenkins.pid but the parent directory needs to be created
mkdir `dirname $PIDFILE` > /dev/null 2>&1 || true
chown $HUDSON_USER `dirname $PIDFILE`
chown $JENKINS_USER `dirname $PIDFILE`
# Return
# 0 if daemon has been started
# 1 if daemon was already running
# 2 if daemon could not be started
$DAEMON $DAEMON_ARGS --running && return 1
# Verify that the hudson port is not already in use, winstone does not exit
# Verify that the jenkins port is not already in use, winstone does not exit
# even for BindException
check_tcp_port "http" "$HTTP_PORT" "8080" || return 1
# If the var MAXOPENFILES is enabled in /etc/default/hudson then set the max open files to the
# If the var MAXOPENFILES is enabled in /etc/default/jenkins then set the max open files to the
# proper value
if [ -n "$MAXOPENFILES" ]; then
[ "$VERBOSE" != no ] && echo Setting up max open files limit to $MAXOPENFILES
......@@ -104,24 +106,24 @@ do_start()
# --user in daemon doesn't prepare environment variables like HOME, USER, LOGNAME or USERNAME,
# so we let su do so for us now
$SU -l $HUDSON_USER --shell=/bin/bash -c "$DAEMON $DAEMON_ARGS -- $JAVA $JAVA_ARGS -jar $HUDSON_WAR $HUDSON_ARGS" || return 2
$SU -l $JENKINS_USER --shell=/bin/bash -c "$DAEMON $DAEMON_ARGS -- $JAVA $JAVA_ARGS -jar $JENKINS_WAR $JENKINS_ARGS" || return 2
}
#
# Verify that all hudson processes have been shutdown
# Verify that all jenkins processes have been shutdown
# and if not, then do killall for them
#
get_running()
{
return `ps -U $HUDSON_USER --no-headers -f | egrep -e '(java|daemon)' | grep -c . `
return `ps -U $JENKINS_USER --no-headers -f | egrep -e '(java|daemon)' | grep -c . `
}
force_stop()
{
get_running
if [ $? -ne 0 ]; then
killall -u $HUDSON_USER java daemon || return 3
killall -u $JENKINS_USER java daemon || return 3
fi
}
......@@ -218,7 +220,7 @@ case "$1" in
fi
else
echo "$procs instances of hudson are running at the moment"
echo "$procs instances of jenkins are running at the moment"
echo "but the pidfile $PIDFILE is missing"
fi
;;
......
deb http://pkg.jenkins-ci.org/debian binary/
#!/bin/sh
# postinst script for hudson
# postinst script for jenkins
#
# see: dh_installdeb(1)
......@@ -22,8 +22,8 @@ case "$1" in
configure)
# Create hudson user if it doesn't exist.
# sometimes tools that users want Hudson to run need a shell,
# so use /bin/bash. See HUDSON-4830
# sometimes tools that users want Jenkins to run need a shell,
# so use /bin/bash. See JENKINS-4830
if ! id hudson > /dev/null 2>&1 ; then
adduser --system --home /var/lib/hudson --no-create-home \
--ingroup nogroup --disabled-password --shell /bin/bash \
......@@ -40,8 +40,8 @@ case "$1" in
# we prune symlinks instead of -P to avoid chmod/chown getting symlinks as arguments
# (which ends up changing the target of the symlink, even though it's not recursive)
find /var/lib/hudson -path "*jobs" -prune -o -path "*.ssh" -prune -o -type l -prune -o -exec chmod 750 {} + || true
chmod -R 750 /var/run/hudson
chmod 750 /var/log/hudson
chmod -R 750 /var/run/jenkins
chmod 750 /var/log/jenkins
;;
abort-upgrade|abort-remove|abort-deconfigure)
......
#!/bin/sh
# postrm script for hudson
# postrm script for jenkins
#
# see: dh_installdeb(1)
......@@ -23,7 +23,7 @@ set -e
case "$1" in
purge)
userdel hudson || true
# TODO: remove log files rm -rf /var/log/hudson
# TODO: remove log files rm -rf /var/log/jenkins
;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
......
......@@ -2,7 +2,7 @@
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH HUDSON SECTION "April 25, 2008"
.TH JENKINS SECTION "April 25, 2008"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
......@@ -16,16 +16,16 @@
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
hudson \- program to do something
jenkins \- program to do something
.SH SYNOPSIS
.B hudson
.B jenkins
.RI [ options ] " files" ...
.br
.B bar
.RI [ options ] " files" ...
.SH DESCRIPTION
This manual page documents briefly the
.B hudson
.B jenkins
and
.B bar
commands.
......@@ -33,7 +33,7 @@ commands.
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
.\" respectively.
\fBhudson\fP is a program that...
\fBjenkins\fP is a program that...
.SH OPTIONS
These programs follow the usual GNU command line syntax, with long
options starting with two dashes (`-').
......@@ -53,7 +53,7 @@ The programs are documented fully by
.IR "The Rise and Fall of a Fooish Bar" ,
available via the Info system.
.SH AUTHOR
hudson was written by <upstream author>.
jenkins was written by <upstream author>.
.PP
This manual page was written by Kohsuke Kawaguchi <kk@kohsuke.org>,
for the Debian project (but may be used by others).
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
<!-- Process this file with docbook-to-man to generate an nroff manual
page: `docbook-to-man manpage.sgml > manpage.1'. You may view
the manual page with: `docbook-to-man manpage.sgml | nroff -man |
less'. A typical entry in a Makefile or Makefile.am is:
manpage.1: manpage.sgml
docbook-to-man $< > $@
The docbook-to-man binary is found in the docbook-to-man package.
Please remember that if you create the nroff version in one of the
debian/rules file targets (such as build), you will need to include
docbook-to-man in your Build-Depends control field.
-->
<!-- Fill in your name for FIRSTNAME and SURNAME. -->
<!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>">
<!ENTITY dhsurname "<surname>SURNAME</surname>">
<!-- Please adjust the date whenever revising the manpage. -->
<!ENTITY dhdate "<date>April 25, 2008</date>">
<!-- SECTION should be 1-8, maybe w/ subsection other parameters are
allowed: see man(7), man(1). -->
<!ENTITY dhsection "<manvolnum>SECTION</manvolnum>">
<!ENTITY dhemail "<email>kk@kohsuke.org</email>">
<!ENTITY dhusername "Kohsuke Kawaguchi">
<!ENTITY dhucpackage "<refentrytitle>HUDSON</refentrytitle>">
<!ENTITY dhpackage "hudson">
<!ENTITY debian "<productname>Debian</productname>">
<!ENTITY gnu "<acronym>GNU</acronym>">
<!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
]>
<refentry>
<refentryinfo>
<address>
&dhemail;
</address>
<author>
&dhfirstname;
&dhsurname;
</author>
<copyright>
<year>2003</year>
<holder>&dhusername;</holder>
</copyright>
&dhdate;
</refentryinfo>
<refmeta>
&dhucpackage;
&dhsection;
</refmeta>
<refnamediv>
<refname>&dhpackage;</refname>
<refpurpose>program to do something</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>&dhpackage;</command>
<arg><option>-e <replaceable>this</replaceable></option></arg>
<arg><option>--example <replaceable>that</replaceable></option></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>DESCRIPTION</title>
<para>This manual page documents briefly the
<command>&dhpackage;</command> and <command>bar</command>
commands.</para>
<para>This manual page was written for the &debian; distribution
because the original program does not have a manual page.
Instead, it has documentation in the &gnu;
<application>Info</application> format; see below.</para>
<para><command>&dhpackage;</command> is a program that...</para>
</refsect1>
<refsect1>
<title>OPTIONS</title>
<para>These programs follow the usual &gnu; command line syntax,
with long options starting with two dashes (`-'). A summary of
options is included below. For a complete description, see the
<application>Info</application> files.</para>
<variablelist>
<varlistentry>
<term><option>-h</option>
<option>--help</option>
</term>
<listitem>
<para>Show summary of options.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-v</option>
<option>--version</option>
</term>
<listitem>
<para>Show version of program.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>SEE ALSO</title>
<para>bar (1), baz (1).</para>
<para>The programs are documented fully by <citetitle>The Rise and
Fall of a Fooish Bar</citetitle> available via the
<application>Info</application> system.</para>
</refsect1>
<refsect1>
<title>AUTHOR</title>
<para>This manual page was written by &dhusername; &dhemail; for
the &debian; system (but may be used by others). Permission is
granted to copy, distribute and/or modify this document under
the terms of the &gnu; General Public License, Version 2 any
later version published by the Free Software Foundation.
</para>
<para>
On Debian systems, the complete text of the GNU General Public
License can be found in /usr/share/common-licenses/GPL.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
<?xml version='1.0' encoding='ISO-8859-1'?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
<!--
Process this file with an XSLT processor: `xsltproc \
-''-nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
manpages/docbook.xsl manpage.dbk'. A manual page
<package>.<section> will be generated. You may view the
manual page with: nroff -man <package>.<section> | less'. A
typical entry in a Makefile or Makefile.am is:
DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
manpages/docbook.xsl
XP=xsltproc -''-nonet
manpage.1: manpage.dbk
$(XP) $(DB2MAN) $<
The xsltproc binary is found in the xsltproc package. The
XSL files are in docbook-xsl. Please remember that if you
create the nroff version in one of the debian/rules file
targets (such as build), you will need to include xsltproc
and docbook-xsl in your Build-Depends control field.
-->
<!-- Fill in your name for FIRSTNAME and SURNAME. -->
<!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>">
<!ENTITY dhsurname "<surname>SURNAME</surname>">
<!-- Please adjust the date whenever revising the manpage. -->
<!ENTITY dhdate "<date>April 25, 2008</date>">
<!-- SECTION should be 1-8, maybe w/ subsection other parameters are
allowed: see man(7), man(1). -->
<!ENTITY dhsection "<manvolnum>SECTION</manvolnum>">
<!ENTITY dhemail "<email>kk@kohsuke.org</email>">
<!ENTITY dhusername "Kohsuke Kawaguchi">
<!ENTITY dhucpackage "<refentrytitle>HUDSON</refentrytitle>">
<!ENTITY dhpackage "hudson">
<!ENTITY debian "<productname>Debian</productname>">
<!ENTITY gnu "<acronym>GNU</acronym>">
<!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
]>
<refentry>
<refentryinfo>
<address>
&dhemail;
</address>
<copyright>
<year>2007</year>
<holder>&dhusername;</holder>
</copyright>
&dhdate;
</refentryinfo>
<refmeta>
&dhucpackage;
&dhsection;
</refmeta>
<refnamediv>
<refname>&dhpackage;</refname>
<refpurpose>program to do something</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>&dhpackage;</command>
<arg><option>-e <replaceable>this</replaceable></option></arg>
<arg><option>--example <replaceable>that</replaceable></option></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>DESCRIPTION</title>
<para>This manual page documents briefly the
<command>&dhpackage;</command> and <command>bar</command>
commands.</para>
<para>This manual page was written for the &debian; distribution
because the original program does not have a manual page.
Instead, it has documentation in the &gnu;
<application>Info</application> format; see below.</para>
<para><command>&dhpackage;</command> is a program that...</para>
</refsect1>
<refsect1>
<title>OPTIONS</title>
<para>These programs follow the usual &gnu; command line syntax,
with long options starting with two dashes (`-'). A summary of
options is included below. For a complete description, see the
<application>Info</application> files.</para>
<variablelist>
<varlistentry>
<term><option>-h</option>
<option>--help</option>
</term>
<listitem>
<para>Show summary of options.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-v</option>
<option>--version</option>
</term>
<listitem>
<para>Show version of program.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>SEE ALSO</title>
<para>bar (1), baz (1).</para>
<para>The programs are documented fully by <citetitle>The Rise and
Fall of a Fooish Bar</citetitle> available via the
<application>Info</application> system.</para>
</refsect1>
<refsect1>
<title>AUTHOR</title>
<para>This manual page was written by &dhusername; &dhemail; for
the &debian; system (but may be used by others). Permission is
granted to copy, distribute and/or modify this document under
the terms of the &gnu; General Public License, Version 2 any
later version published by the Free Software Foundation.
</para>
<para>
On Debian systems, the complete text of the GNU General Public
License can be found in /usr/share/common-licenses/GPL.
</para>
</refsect1>
</refentry>
?package(hudson):needs="X11|text|vc|wm" section="Apps/see-menu-manual"\
title="hudson" command="/usr/bin/hudson"
#!/bin/sh
# preinst script for hudson
# preinst script for jenkins
#
# see: dh_installdeb(1)
......
#!/bin/sh
# prerm script for hudson
# prerm script for jenkins
#
# see: dh_installdeb(1)
......
// Used to drive apt-ftparchive
APT::FTPArchive::Release::Origin "hudson-ci.org";
APT::FTPArchive::Release::Origin "jenkins-ci.org";
APT::FTPArchive::Release::Suite "binary";
APT::FTPArchive::Release::Architectures "all";
......@@ -43,12 +43,12 @@ install: build
dh_installdirs
dh_install
# Add here commands to install the package into debian/hudson.
# Add here commands to install the package into debian/jenkins.
# Moved creation of dirs to dirs template to be invoked by dh_installdirs
# Moved copying of 'upstream' files (hudson.war) to install template to be invoked by dh_install
#cp hudson.war $(CURDIR)/debian/hudson/usr/share/hudson/hudson.war
# Moved copying of 'upstream' files (jenkins.war) to install template to be invoked by dh_install
#cp jenkins.war $(CURDIR)/debian/jenkins/usr/share/jenkins/jenkins.war
# Build architecture-independent files here.
......
......@@ -8,15 +8,15 @@ version=3
# Uncomment to examine a Webpage
# <Webpage URL> <string match>
#http://www.example.com/downloads.php hudson-(.*)\.tar\.gz
#http://www.example.com/downloads.php jenkins-(.*)\.tar\.gz
# Uncomment to examine a Webserver directory
#http://www.example.com/pub/hudson-(.*)\.tar\.gz
#http://www.example.com/pub/jenkins-(.*)\.tar\.gz
# Uncommment to examine a FTP server
#ftp://ftp.example.com/pub/hudson-(.*)\.tar\.gz debian uupdate
#ftp://ftp.example.com/pub/jenkins-(.*)\.tar\.gz debian uupdate
# Uncomment to find new files on sourceforge, for debscripts >= 2.9
# http://sf.net/hudson/hudson-(.*)\.tar\.gz
# http://sf.net/jenkins/jenkins-(.*)\.tar\.gz
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册