add READNME.md + Jenkinsfile
NClazz/resource-manager/pipeline/head This commit looks good
Details
NClazz/resource-manager/pipeline/head This commit looks good
Details
parent
31e52d2bc5
commit
00daca8231
|
@ -0,0 +1,34 @@
|
|||
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('Check Container') {
|
||||
steps {
|
||||
sh 'mvn --version'
|
||||
sh "mvn -s $MVN_SET help::effective-settings"
|
||||
}
|
||||
}
|
||||
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'mvn -s $MVN_SET clean package'
|
||||
}
|
||||
}
|
||||
|
||||
stage('deploy') {
|
||||
steps {
|
||||
sh 'mvn -s $MVN_SET deploy'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
# Resource Manager
|
||||
[![Build Status](https://jenkins.niclas-thobaben.de/buildStatus/icon?job=de.nclazz%2Fresource-manager%2Fmaster)](https://jenkins.niclas-thobaben.de/job/de.nclazz/job/resource-manager/job/master/)
|
||||
|
||||
The resource manager library provides an easy API to manage resources in an application at runtime.
|
||||
The basic is concept is to define required resources for an application and provide some defaults, which
|
||||
can can be overwritten at runtime to create a dynamic configuration. All defined resources can be reset
|
||||
or exported to use in another application instance.
|
||||
|
||||
The resource manager provides a foundation for any custom CMS you may want to develop.
|
Loading…
Reference in New Issue