-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathjenkins.yaml
59 lines (51 loc) · 1.32 KB
/
jenkins.yaml
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
48
49
50
51
52
53
54
55
56
57
58
59
package:
name: jenkins
version: "2.447"
epoch: 0
description:
copyright:
- license: MIT
dependencies:
runtime:
- ttf-dejavu
environment:
contents:
packages:
- autoconf
- automake
- bash
- build-base
- busybox
- ca-certificates-bundle
- coreutils
- git
- glibc-locale-en
- maven
- openjdk-17
- openjdk-17-default-jvm
- openssh-client
- patch
- tini
- ttf-dejavu
- tzdata
pipeline:
- uses: fetch
with:
uri: https://github.com/jenkinsci/jenkins/archive/refs/tags/jenkins-${{package.version}}.tar.gz
expected-sha256: 27b4510e6e43bf72054f61748377001314bb1efb89df055864f395b04c6aee19
- uses: patch
with:
patches: ignoreArchiveNotReadableTest.patch
- runs: |
export JAVA_HOME=/usr/lib/jvm/java-17-openjdk
export LANG=en_US.UTF-8
export MAVEN_OPTS="-DforkCount=2"
# tests take ~1.5 hours to run and have passed 100% since the initial addition of Jenkins, let's skip them and save time + resources
mvn install -DskipTests=true
mkdir -p ${{targets.destdir}}/usr/share/java/jenkins
mv war/target/jenkins.war ${{targets.destdir}}/usr/share/java/jenkins/
update:
enabled: true
github:
identifier: jenkinsci/jenkins
strip-prefix: jenkins-