diff --git a/CREDITS b/CREDITS index 8a3a144..f0c57d5 100644 --- a/CREDITS +++ b/CREDITS @@ -1,5 +1,5 @@ This file partially lists people, that have contributed to - the "RobertVokac Java Format Checkstyle" project. They are sorted by name. + the "Open Eggbert Java Format Checkstyle" project. They are sorted by name. The fields are: name (N), e-mail (E), web-address (W), PGP key ID and fingerprint (P), description (D) and snail-mail address (S). diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index ee78e18..0000000 --- a/Jenkinsfile +++ /dev/null @@ -1,129 +0,0 @@ -pipeline -{ - agent any - environment { - AAA = 'aaa' - } - stages - { - stage('Build') - { - steps { - - echo "*** Building ${env.JOB_NAME} ***" - sh ''' - #!/bin/bash - echo JOB_NAME=$JOB_NAME - - if [ -z "$JAVA_21_HOME" ] - then - echo "KO : Variable JAVA_21_HOME is empty. You fix this issue by adding this variable to configuration of Jenkins." - exit 1 - else - echo "OK : Variable JAVA_21_HOME is NOT empty" - fi - export JAVA_HOME=$JAVA_21_HOME - case $BRANCH_NAME in - - master | deploy_prod) - mvn clean install - ;; - - develop | jenkins | deploy_test) - echo Branch $BRANCH_NAME is supported. Continuing. - version=`mvn help:evaluate -Dexpression=project.version -q -DforceStdout` - echo version=$version - case "$version" in - *"SNAPSHOT"*) echo echo version is OK ;; - * ) echo echo "You cannot build releases on Jenkins, only snapshots!"&&exit 1 ;; - esac - mvn clean deploy - ;; - - *) - echo Branch $BRANCH_NAME is not supported. A failure happened. Exiting. - exit 1 - ;; - esac - - echo "Build of $JOB_NAME was successful" - ''' - } - } - - stage('Deploy') - { - steps { - echo "*** Deploying ${env.JOB_NAME} ***" - - sh ''' - #!/bin/bash - - echo "Nothing to do" - exit - case $BRANCH_NAME in - - master) - echo Branch $BRANCH_NAME is supported. Continuing. - OUT_DIR=$DEFAULT_LATEST_OUT_DIR - ;; - - develop | jenkins) - echo Branch $BRANCH_NAME is supported. Continuing. - OUT_DIR=$DEFAULT_SNAPSHOT_OUT_DIR - ;; - - *) - echo Branch $BRANCH_NAME is not supported. A failure happened. Exiting. - exit 1 - ;; - esac - - if [ -z "$DOC_NAME" ] - then - echo "KO : Variable DOC_NAME is empty. You fix this issue by adding this variable to section 'environment' of this Jenkinsfile" - exit 1 - else - echo "OK : Variable DOC_NAME is NOT empty" - fi - - if [ -z "$DOCS_ROOT_DIR" ] - then - echo "KO : Variable DOCS_ROOT_DIR is empty. You fix this issue by adding this variable to Jenkins configuration" - exit 1 - else - echo "OK : Variable DOCS_ROOT_DIR is NOT empty" - fi - - echo "OUT_DIR=$OUT_DIR" - FULL_OUTPUT_DIR=$DOCS_ROOT_DIR/$DOC_NAME/$OUT_DIR - if [ -z "$FULL_OUTPUT_DIR" ] - then - echo "KO : Variable FULL_OUTPUT_DIR is empty" - exit 1 - else - echo "OK Variable FULL_OUTPUT_DIR is NOT empty" - rsync -vaz ./generated/ $FULL_OUTPUT_DIR - echo "Deployment of documentation was successful" - fi - ''' - - } - } - } - post { - always { - script { - env.color = "${currentBuild.currentResult == 'SUCCESS' ? 'green' : 'red'}" - } - - echo 'Sending e-mail.' - sh "printenv | sort" - emailext body: "${currentBuild.currentResult} - ${env.JOB_NAME} (#${env.BUILD_NUMBER})
", - recipientProviders: [[$class: 'DevelopersRecipientProvider'], [$class: 'RequesterRecipientProvider']], - subject: "Jenkins Build - ${currentBuild.currentResult} - $JOB_NAME (#$BUILD_NUMBER)" - - } - } -} - diff --git a/README.md b/README.md index 43374f1..408cb44 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# robertvokac-javaformat-checkstyle +# open-eggbert-javaformat-checkstyle -This is a Java library, which encapsulates RobertVokac Checkstyle XML configuration file. +This is a Java library, which encapsulates Open Eggbert Checkstyle XML configuration file. diff --git a/pom.xml b/pom.xml index 2337e83..8b5e636 100644 --- a/pom.xml +++ b/pom.xml @@ -1,7 +1,7 @@