Compare commits

...

2 commits

Author SHA1 Message Date
Dmitry Isaenko
e7adfb9e89 Correct pom recipe
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-11-21 00:55:25 +03:00
Dmitry Isaenko
ed8eee00d8 Move to Woodpecker CI 2024-11-21 00:55:12 +03:00
3 changed files with 18 additions and 19 deletions

View file

@ -1,30 +1,20 @@
kind: pipeline
type: docker
name: default
steps:
- name: test
when:
event: [tag, push]
image: maven:3-jdk-11
commands:
- mvn -B -DskipTests clean package
- mvn test -B
volumes:
- name: m2
path: /root/.m2
- /home/docker/woodpecker/files/m2:/root/.m2
- name: archive-artifact
when:
event: [tag, push]
image: alpine:latest
commands:
- mkdir -p /builds/konogonka
- cp target/konogonka-*jar /builds/konogonka/
volumes:
- name: builds
path: /builds
volumes:
- name: m2
host:
path: /home/docker/drone/files/m2
- name: builds
host:
path: /home/www/builds
- /home/www/builds:/builds

View file

@ -1,6 +1,6 @@
# konogonka
![License](https://img.shields.io/badge/License-GPLv3-blue.svg) [![Build Status](https://ci.redrise.ru/api/badges/desu/konogonka/status.svg)](https://ci.redrise.ru/desu/konogonka)
![License](https://img.shields.io/badge/License-GPLv3-blue.svg) [![status-badge](https://ci.redrise.ru/api/badges/10/status.svg)](https://ci.redrise.ru/repos/10)
GitHub mirror. [Click here to get it from independent source code location](https://git.redrise.ru/desu/konogonka)

13
pom.xml
View file

@ -40,6 +40,15 @@
</developer>
</developers>
<repositories>
<repository>
<id>redrise</id>
<name>redrise.ru repository</name>
<url>https://repo.redrise.ru/releases</url>
</repository>
</repositories>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.build.timestamp.format>yyyyMMdd.HHmmss</maven.build.timestamp.format>
@ -141,7 +150,7 @@
<dependency>
<groupId>ru.redrise</groupId>
<artifactId>libKonogonka</artifactId>
<version>0.1-SNAPSHOT</version>
<version>0.1</version>
<scope>compile</scope>
</dependency>
@ -239,4 +248,4 @@
</plugin>
</plugins>
</build>
</project>
</project>