From cfd8a09cbf244eac4756d5dda13e5ab7dde8a541 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 6 Jan 2019 09:48:09 +0000 Subject: [PATCH] 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 --- Jenkinsfile.groovy | 41 ++++++++++++++--------------------------- README.md | 11 ----------- README.org | 10 ++++++++++ 3 files changed, 24 insertions(+), 38 deletions(-) delete mode 100644 README.md create mode 100644 README.org diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy index f9bfea5..0bf7557 100644 --- a/Jenkinsfile.groovy +++ b/Jenkinsfile.groovy @@ -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" + // } + // } + // } } } diff --git a/README.md b/README.md deleted file mode 100644 index fda2e6b..0000000 --- a/README.md +++ /dev/null @@ -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. diff --git a/README.org b/README.org new file mode 100644 index 0000000..fddad41 --- /dev/null +++ b/README.org @@ -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.