Add Drone CI, remove malware Jenkins.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
6e251348f3
commit
48b677947a
4 changed files with 38 additions and 22 deletions
30
.drone.yml
Normal file
30
.drone.yml
Normal file
|
@ -0,0 +1,30 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
image: maven:3-jdk-11
|
||||
commands:
|
||||
- mvn -B -DskipTests clean package
|
||||
- mvn test -B
|
||||
volumes:
|
||||
- name: m2
|
||||
path: /root/.m2
|
||||
|
||||
- name: archive-artifact
|
||||
image: alpine:latest
|
||||
commands:
|
||||
- mkdir -p /builds/logiledus
|
||||
- cp target/LogiLedus-*jar /builds/logiledus/
|
||||
volumes:
|
||||
- name: builds
|
||||
path: /builds
|
||||
|
||||
volumes:
|
||||
- name: m2
|
||||
host:
|
||||
path: /home/docker/drone/files/m2
|
||||
- name: builds
|
||||
host:
|
||||
path: /home/www/builds
|
21
Jenkinsfile
vendored
21
Jenkinsfile
vendored
|
@ -1,21 +0,0 @@
|
|||
pipeline {
|
||||
agent {
|
||||
docker {
|
||||
image 'maven:3-jdk-11'
|
||||
args '-v /home/docker/jenkins/files/m2:/root/.m2'
|
||||
}
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'mvn -B -DskipTests clean package'
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
always {
|
||||
archiveArtifacts artifacts: 'target/*.jar, target/*.exe', onlyIfSuccessful: true
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,6 +1,10 @@
|
|||
# LogiLedus
|
||||
|
||||
![License](https://img.shields.io/badge/License-GPLv3-blue.svg) ![Releases](https://img.shields.io/github/downloads/developersu/LogiLedus/total.svg) ![LatestVer](https://img.shields.io/github/release/developersu/LogiLedus.svg)
|
||||
![License](https://img.shields.io/badge/License-GPLv3-blue.svg) ![Releases](https://img.shields.io/github/downloads/developersu/LogiLedus/total.svg) ![LatestVer](https://img.shields.io/github/release/developersu/LogiLedus.svg) [![Build Status](https://ci.redrise.ru/api/badges/desu/logiledus/status.svg)](https://ci.redrise.ru/desu/logiledus)
|
||||
|
||||
GitHub mirror. [Click here to get it from independent source code location](https://git.redrise.ru/desu/logiledus)
|
||||
|
||||
Nightly builds could be found somewhere on [redrise.ru](https://redrise.ru)
|
||||
|
||||
[Support author](#support-this-app)
|
||||
|
||||
|
|
3
pom.xml
3
pom.xml
|
@ -40,6 +40,7 @@
|
|||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.build.timestamp.format>yyyyMMdd.HHmmss</maven.build.timestamp.format>
|
||||
</properties>
|
||||
|
||||
<issueManagement>
|
||||
|
@ -175,6 +176,7 @@
|
|||
-->
|
||||
</dependencies>
|
||||
<build>
|
||||
<finalName>${project.artifactId}-${project.version}-${maven.build.timestamp}</finalName>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
|
@ -210,6 +212,7 @@
|
|||
<descriptorRefs>
|
||||
<descriptorRef>jar-with-dependencies</descriptorRef>
|
||||
</descriptorRefs>
|
||||
<appendAssemblyId>false</appendAssemblyId>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
|
|
Loading…
Reference in a new issue