Marcel Telka
2024-04-08 5d8bcb58722b250c296fc0324f9d06470fb3d7d0
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
#
# 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 2016-2017 Jim Klimov
#
 
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY) - long-term support core build"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
 
license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
 
# Note: java11+ is required since 2022
# This may be JRE11 for the server, though JDK11 also suffices :)
depend fmri=__TBD pkg.debug.depend.file=usr/bin/java type=require
 
# Note: as we deliver the new WAR file, we tell the appservers to refresh
# using the known (or expected soon) SMF FMRIs. Depending on integration,
# this would restart a standalone server or bump and redeploy in container.
 
file path=usr/share/jenkins/war/lts/$(COMPONENT_NAME)-$(COMPONENT_VERSION).war \
     refresh_fmri=svc:/network/http:jenkins
 
link path=usr/share/jenkins/war/lts/jenkins.war \
     target=./$(COMPONENT_NAME)-$(COMPONENT_VERSION).war \
     mediator=jenkins-core \
     mediator-implementation=jenkins-core-lts \
     mediator-version=$(COMPONENT_VERSION)
 
link path=usr/share/jenkins/war/jenkins.war \
     target=./lts/jenkins.war \
     mediator=jenkins-core \
     mediator-implementation=jenkins-core-lts \
     mediator-version=$(COMPONENT_VERSION)