openbsd-ports/devel/jenkins/pkg
ian fe1616ba97 Put more options into daemon_flags, and document in README how to configure
the HTTPS and AJP ports (both now disabled). Remove dead variables.
Use ${LOCALBASE} one place instead of ${TRUEPREFIX}, requested by sthen@.
Brief note on migration from Hudson. Bump REVISION.
Spirited discussion with ajacoutot@ and schwarze@; ok ajacoutot@
2011-03-28 22:03:43 +00:00
..
DESCR
jenkins.rc Put more options into daemon_flags, and document in README how to configure 2011-03-28 22:03:43 +00:00
PLIST
README Put more options into daemon_flags, and document in README how to configure 2011-03-28 22:03:43 +00:00
SECURITY

$OpenBSD: README,v 1.2 2011/03/28 22:03:44 ian Exp $

Running Jenkins on OpenBSD.

To arrange for the standalone Jenkins server to run automatically
on reboot, add "jenkins" to "rc_scripts" in /etc/rc.conf.local, e.g.:

rc_scripts="${rc_scripts} jenkins"

NOTE: This script runs Jenkins on port 8000, not 8080, since most
Java application servers run on port 8080. By default we disable
HTTPS and AJP, since the former is extra overhead on localhost and
the latter conflicts with most Java application servers' AJP port.

To change any of these options, carefully copy the line
starting daemon_flags= from /etc/rc.d/jenkins into /etc/rc.conf.local
and change the daemon_flags to jenkins_flags in addition to any
changes to the ports and other options.

To run Jenkins in another Java web/application server, copy the war
file from ${TRUEPREFIX}/share/jenkins to your server's deploy
directory, or read more at ${HOMEPAGE}. 

To use the email notifications, you will have to configure a valid
sending address (and SMTP server, if not localhost) under
Manage Jenkins -> Email Configuration.

The Jenkins data files are in the home directory (/var/jenkins),
under the "hidden" directory ".jenkins".

If you are upgrading from Hudson to Jenkins, you can copy the old
content of /var/hudson/.hudson into /var/jenkins/.jenkins, e.g.,
	# cp -r /var/hudson/.hudson/* /var/jenkins/.jenkins
	# chown -R _jenkins:_jenkins /var/jenkins/.jenkins