initial setup
de.nclazz/java-commons/pipeline/head This commit looks good
Details
de.nclazz/java-commons/pipeline/head This commit looks good
Details
commit
65b223e7ca
|
@ -0,0 +1,18 @@
|
||||||
|
# GENERAL
|
||||||
|
target/
|
||||||
|
reporting/
|
||||||
|
*.log*
|
||||||
|
logs/
|
||||||
|
|
||||||
|
# MAC
|
||||||
|
.DS_Store
|
||||||
|
|
||||||
|
# ECLIPSE
|
||||||
|
.classpath
|
||||||
|
.settings
|
||||||
|
.project
|
||||||
|
/.metadata/
|
||||||
|
|
||||||
|
# IntelliJ
|
||||||
|
.idea
|
||||||
|
*.iml
|
|
@ -0,0 +1,27 @@
|
||||||
|
pipeline {
|
||||||
|
environment {
|
||||||
|
JAVA_TOOL_OPTIONS = "-Duser.home=/var/maven"
|
||||||
|
MVN_SET = credentials('maven_settings')
|
||||||
|
}
|
||||||
|
agent {
|
||||||
|
docker {
|
||||||
|
image 'maven:3-alpine'
|
||||||
|
args '-v /var/jenkins_home/.m2:/var/maven/.m2:z -u root -e MAVEN_CONFIG=/var/maven/.m2'
|
||||||
|
reuseNode true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stages {
|
||||||
|
|
||||||
|
stage('Build') {
|
||||||
|
steps {
|
||||||
|
sh 'mvn -s $MVN_SET clean package'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
stage('deploy') {
|
||||||
|
steps {
|
||||||
|
sh 'mvn -s $MVN_SET deploy'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
# de.nclazz Java-Commons
|
||||||
|
[![Build Status](https://jenkins.niclas-thobaben.de/buildStatus/icon?job=de.nclazz%2Fjava-commons%2Fmaster)](https://jenkins.niclas-thobaben.de/job/de.nclazz/job/java-commons/job/master/)
|
||||||
|
|
||||||
|
|
||||||
|
Common and reusable java utilities and functionalities.
|
|
@ -0,0 +1,25 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
<groupId>de.nclazz</groupId>
|
||||||
|
<artifactId>commons</artifactId>
|
||||||
|
<version>1.0.0-SNAPSHOT</version>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<groupId>de.nclazz</groupId>
|
||||||
|
<artifactId>maven-boot</artifactId>
|
||||||
|
<version>1.0.0</version>
|
||||||
|
</parent>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
|
||||||
|
</build>
|
||||||
|
|
||||||
|
</project>
|
Loading…
Reference in New Issue