From 00daca82310924d4d2b175f5b06d8f2de26268da Mon Sep 17 00:00:00 2001 From: Niclas Thobaben Date: Fri, 4 Dec 2020 18:32:57 +0100 Subject: [PATCH] add READNME.md + Jenkinsfile --- Jenkinsfile | 34 ++++++++++++++++++++++++++++++++++ README.md | 9 +++++++++ 2 files changed, 43 insertions(+) create mode 100644 Jenkinsfile create mode 100644 README.md diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..0153dc7 --- /dev/null +++ b/Jenkinsfile @@ -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' + } + } + } +} diff --git a/README.md b/README.md new file mode 100644 index 0000000..146dd23 --- /dev/null +++ b/README.md @@ -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. \ No newline at end of file