forked from OpenIndiana/oi-userland
/
jenkins-standalone.p5m
47 lines (40 loc) · 1.78 KB
/
jenkins-standalone.p5m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
# Copyright (c) 2016-2017 Jim Klimov
#
# NOTE: This package provides the integration service for standalone
# execution of Jenkins in its Jetty server. There are other ways to
# run it (e.g. as a web-application inside a container like Tomcat or
# Glassfish) which can become the subject of other similar packages.
set name=pkg.fmri \
value=pkg:/developer/jenkins-standalone@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY) - standalone service"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
depend type=require \
fmri=pkg:/developer/jenkins-common
depend type=require-any \
fmri=pkg:/developer/jenkins-core-weekly \
fmri=pkg:/developer/jenkins-core-lts
depend type=require \
fmri=pkg:/runtime/java/openjdk11
# The font is required by Jenkins Web-GUI to start up, see
# https://wiki.jenkins.io/display/JENKINS/Jenkins+got+java.awt.headless+problem
depend type=require \
fmri=pkg:/system/font/truetype/dejavu
file \
files/jenkins-standalone.xml \
path=lib/svc/manifest/network/jenkins-standalone.xml \
restart_fmri=svc:/system/manifest-import:default
dir group=jenkins owner=jenkins mode=0755 path=var/lib/jenkins/standalone-war