Compare commits
2 commits
436fa2bd90
...
e7adfb9e89
Author | SHA1 | Date | |
---|---|---|---|
|
e7adfb9e89 | ||
|
ed8eee00d8 |
3 changed files with 18 additions and 19 deletions
|
@ -1,30 +1,20 @@
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: default
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: test
|
||||||
|
when:
|
||||||
|
event: [tag, push]
|
||||||
image: maven:3-jdk-11
|
image: maven:3-jdk-11
|
||||||
commands:
|
commands:
|
||||||
- mvn -B -DskipTests clean package
|
- mvn -B -DskipTests clean package
|
||||||
- mvn test -B
|
- mvn test -B
|
||||||
volumes:
|
volumes:
|
||||||
- name: m2
|
- /home/docker/woodpecker/files/m2:/root/.m2
|
||||||
path: /root/.m2
|
|
||||||
|
|
||||||
- name: archive-artifact
|
- name: archive-artifact
|
||||||
|
when:
|
||||||
|
event: [tag, push]
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p /builds/konogonka
|
- mkdir -p /builds/konogonka
|
||||||
- cp target/konogonka-*jar /builds/konogonka/
|
- cp target/konogonka-*jar /builds/konogonka/
|
||||||
volumes:
|
volumes:
|
||||||
- name: builds
|
- /home/www/builds:/builds
|
||||||
path: /builds
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: m2
|
|
||||||
host:
|
|
||||||
path: /home/docker/drone/files/m2
|
|
||||||
- name: builds
|
|
||||||
host:
|
|
||||||
path: /home/www/builds
|
|
|
@ -1,6 +1,6 @@
|
||||||
# konogonka
|
# 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)
|
GitHub mirror. [Click here to get it from independent source code location](https://git.redrise.ru/desu/konogonka)
|
||||||
|
|
||||||
|
|
13
pom.xml
13
pom.xml
|
@ -40,6 +40,15 @@
|
||||||
</developer>
|
</developer>
|
||||||
</developers>
|
</developers>
|
||||||
|
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>redrise</id>
|
||||||
|
<name>redrise.ru repository</name>
|
||||||
|
<url>https://repo.redrise.ru/releases</url>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<maven.build.timestamp.format>yyyyMMdd.HHmmss</maven.build.timestamp.format>
|
<maven.build.timestamp.format>yyyyMMdd.HHmmss</maven.build.timestamp.format>
|
||||||
|
@ -141,7 +150,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>ru.redrise</groupId>
|
<groupId>ru.redrise</groupId>
|
||||||
<artifactId>libKonogonka</artifactId>
|
<artifactId>libKonogonka</artifactId>
|
||||||
<version>0.1-SNAPSHOT</version>
|
<version>0.1</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
@ -239,4 +248,4 @@
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Reference in a new issue