From 13fb78a622f6d8d7082c639393753e4892eb6a52 Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Tue, 30 Apr 2019 12:53:52 +0200 Subject: [PATCH] added gw spotlessCheck to Jenkins pipeline --- Jenkinsfile | 4 ++-- README.md | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index fac96e2e..bb4438e7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,9 +10,9 @@ node { sh "java -version" } - stage('clean') { + stage('clean+spotless') { sh "chmod +x gradlew" - sh "./gradlew clean --no-daemon" + sh "./gradlew clean spotlessCheck --no-daemon" } stage('npm install') { diff --git a/README.md b/README.md index b4ed6327..4550ae5f 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,11 @@ better, delete the previous test configurations and amend the JUnit template. The jhipster-generated git branch tracks the history of the JDL model file and the generated source code. The project has to be resetted to a clean state -(without any generated entitites) before changes to the JDL file can be imported. +(without any generated entities) before changes to the JDL file can be imported. + +| WARNING: This workflow is currently changing, do NOT use! | +| --------------------------------------------------------- | + # Prepare/Cleanup Workspace