Converted README to org-mode and update Jenkinsfile (#37)

* [readme] converted to org-mode

* [jenkins] remove sonarcloud

* [jenkins] test build with JDK 11 and 12

Replacing 9 and 10.

* [jenkins] temp disable JDK 11 and 12 builds
This commit is contained in:
Paul Campbell 2019-01-06 09:48:09 +00:00 committed by GitHub
parent 13c35939b3
commit cfd8a09cbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 38 deletions

View file

@ -1,6 +1,5 @@
final String publicRepo = 'https://github.com/kemitix/'
final String mvn = "mvn --batch-mode --update-snapshots --errors"
final dependenciesSupportJDK = 10
pipeline {
agent any
@ -40,16 +39,6 @@ pipeline {
}
}
}
stage('SonarQube (published)') {
when { expression { isPublished(publicRepo) } }
steps {
withSonarQubeEnv('sonarqube') {
withMaven(maven: 'maven', jdk: 'JDK 1.8') {
sh "${mvn} org.sonarsource.scanner.maven:sonar-maven-plugin:3.4.0.905:sonar"
}
}
}
}
stage('Deploy (published release branch)') {
when {
expression {
@ -64,22 +53,20 @@ pipeline {
}
}
}
stage('Build Java 9') {
when { expression { dependenciesSupportJDK >= 9 } }
steps {
withMaven(maven: 'maven', jdk: 'JDK 9') {
sh "${mvn} clean verify -Djava.version=9"
}
}
}
stage('Build Java 10') {
when { expression { dependenciesSupportJDK >= 10 } }
steps {
withMaven(maven: 'maven', jdk: 'JDK 10') {
sh "${mvn} clean verify -Djava.version=10"
}
}
}
// stage('Build Java 11') {
// steps {
// withMaven(maven: 'maven', jdk: 'JDK 11') {
// sh "${mvn} clean verify -Djava.version=11"
// }
// }
// }
// stage('Build Java 12') {
// steps {
// withMaven(maven: 'maven', jdk: 'JDK 12') {
// sh "${mvn} clean verify -Djava.version=12"
// }
// }
// }
}
}

View file

@ -1,11 +0,0 @@
# GitDB - Git as a (Stupid) NoSQL Database
An experiment in working with a bare Git repo to do something that probably shouldn't be used in production.
[![Sonatype Nexus (Releases)](https://img.shields.io/nexus/r/https/oss.sonatype.org/net.kemitix/gitdb.svg?style=for-the-badge)](https://oss.sonatype.org/content/repositories/releases/net/kemitix/gitdb/)
[![Maven Central](https://img.shields.io/maven-central/v/net.kemitix/gitdb.svg?style=for-the-badge)](https://search.maven.org/#search|ga|1|g%3A"net.kemitix"%20AND%20a%3A"gitdb")
[![SonarQube Coverage](https://img.shields.io/sonar/https/sonarcloud.io/net.kemitix%3Agitdb/coverage.svg?style=for-the-badge)](https://sonarcloud.io/dashboard?id=net.kemitix%3Agitdb)
[![SonarQube Tech Debt](https://img.shields.io/sonar/https/sonarcloud.io/net.kemitix%3Agitdb/tech_debt.svg?style=for-the-badge)](https://sonarcloud.io/dashboard?id=net.kemitix%3Agitdb)
Inspired by the [presentation](https://www.youtube.com/watch?v=nPPlyjMlQ34) and [blog post](https://www.kenneth-truyers.net/2016/10/13/git-nosql-database/) by Kenneth Truyers.

10
README.org Normal file
View file

@ -0,0 +1,10 @@
* GitDB - Git as a (Stupid) NoSQL Database
An experiment in working with a bare Git repo to do something that
probably shouldn't be used in production.
[[https://oss.sonatype.org/content/repositories/releases/net/kemitix/gitdb][file:https://img.shields.io/nexus/r/https/oss.sonatype.org/net.kemitix/gitdb.svg?style=for-the-badge]]
[[https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22net.kemitix%22%20AND%20a%3A%22gitdb%22][file:https://img.shields.io/maven-central/v/net.kemitix/gitdb.svg?style=for-the-badge]]
[[http://i.jpeek.org/net.kemitix/gitdb/index.html][file:http://i.jpeek.org/net.kemitix/gitdb/badge.svg]]
Inspired by the [[https://www.youtube.com/watch?v=nPPlyjMlQ34][presentation]] and [[https://www.kenneth-truyers.net/2016/10/13/git-nosql-database/][blog post]] by Kenneth Truyers.