Skip to content

Commit 2728f7b

Browse files
committed
(ci) bring nyaacat ci back :)
1 parent 7b54281 commit 2728f7b

File tree

3 files changed

+24
-45
lines changed

3 files changed

+24
-45
lines changed

.github/workflows/package-pubilsh.yml

-43
This file was deleted.

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
# LockettePro [![AutoBuilder](https://github.com/NyaaCat/LockettePro/actions/workflows/autobuild.yml/badge.svg)](https://github.com/NyaaCat/LockettePro/actions/workflows/autobuild.yml)
1+
# LockettePro [![Build Status](https://ci.nyaacat.com/job/LockettePro/job/main/badge/icon?style=flat-square)](https://ci.nyaacat.com/job/LockettePro/job/main/)
22

33
<!-- For Alerts: https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts -->
44
> [!CAUTION]\
55
> ***Versions for Minecraft 1.21 are not fully tested yet.***
66
> Please create an issue if you find anything wrong. Thank you.
77
8-
The Builds afterward will be migrated to [GitHub actions](https://github.com/NyaaCat/LockettePro/actions/workflows/autobuild.yml) due to Nyaa CI server closed.
8+
All versions can be found at [Nyaa CI server](https://ci.nyaacat.com/job/LockettePro/)
9+
For the newest build on main branch, click [here](https://ci.nyaacat.com/job/LockettePro/job/main/lastSuccessfulBuild/)
910

1011
### LockettePro - A much better Lockette plugin for Bukkit
1112

src/main/Jenkinsfile

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
2+
pipeline {
3+
agent any
4+
stages {
5+
stage('Build') {
6+
tools {
7+
jdk "jdk21"
8+
}
9+
steps {
10+
sh './gradlew build'
11+
}
12+
}
13+
}
14+
15+
post {
16+
always {
17+
archiveArtifacts artifacts: 'build/libs/*.jar', fingerprint: true
18+
cleanWs()
19+
}
20+
}
21+
}

0 commit comments

Comments
 (0)