Compare commits

...

2 Commits

Author SHA1 Message Date
jolheiser a2c3ace845
Update '.woodpecker.yml' 2022-01-11 03:04:06 +00:00
Joey Hines 9000fc9941
Switched CI to woodpecker
+ Bumped gradle version
2022-01-09 20:30:07 -07:00
4 changed files with 26 additions and 38 deletions

View File

@ -1,35 +0,0 @@
---
kind: pipeline
name: compliance
trigger:
event:
- pull_request
steps:
- name: build
pull: always
image: gradle:6.6
commands:
- gradle build
- gradle test
---
kind: pipeline
name: release
trigger:
branch:
- master
event:
- push
steps:
- name: publish
pull: always
image: gradle:6.6
environment:
MAVEN_PASSWORD:
from_secret: maven_password
commands:
- gradle publish

23
.woodpecker.yml 100644
View File

@ -0,0 +1,23 @@
clone:
git:
image: woodpeckerci/plugin-git:next
pipeline:
compliance:
image: gradle:7.3-jdk17
commands:
- gradle build
- gradle test
when:
event: pull_request
release:
image: gradle:7.3-jdk17
environment:
- MAVEN_PASSWORD:
from_secret: maven_password
commands:
- gradle publish
when:
branch: master

View File

@ -34,8 +34,8 @@ publishing {
}
repositories {
maven {
name = "birbmc"
url = "https://mvn.birbmc.com/releases"
name = "jojodev"
url = "https://mvn.jojodev.com/releases"
credentials {
username = "admin"
password = System.getenv("MAVEN_PASSWORD")

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists