Renamed to nanoboot-javaformat-checkstyle

This commit is contained in:
Robert Vokac 2023-11-05 11:57:29 +01:00
parent 4f280b71ad
commit ce7266b543
No known key found for this signature in database
GPG Key ID: 693D30BEE3329055
4 changed files with 24 additions and 10 deletions

14
Jenkinsfile vendored
View File

@ -82,5 +82,19 @@ pipeline
}
}
}
post {
always {
script {
env.color = "${currentBuild.currentResult == 'SUCCESS' ? 'green' : 'red'}"
}
echo 'Sending e-mail.'
sh "printenv | sort"
emailext body: "<b style=\"color:$COLOR\">${currentBuild.currentResult}</b> - ${env.JOB_NAME} (#${env.BUILD_NUMBER})<br> <ul style=\"margin-top:2px;padding-top:2px;padding-left:30px;\"><li>More info at: <a href=\"${env.BUILD_URL}\">${env.BUILD_URL}</a></li></ul>",
recipientProviders: [[$class: 'DevelopersRecipientProvider'], [$class: 'RequesterRecipientProvider']],
subject: "Jenkins Build - ${currentBuild.currentResult} - $JOB_NAME (#$BUILD_NUMBER)"
}
}
}

View File

@ -1,3 +1,3 @@
# nanoboot-checks
# nanoboot-javaformat-checkstyle
This is a Java library, which encapsulates Nanoboot Checkstyle XML configuration file.

10
pom.xml
View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
nanoboot-checks: Encapsulates Nanoboot Checkstyle XML configuration file.
Copyright (C) 2018-2022 the original author or authors.
nanoboot-javaformat-checkstyle: Encapsulates Nanoboot Checkstyle XML configuration file.
Copyright (C) 2018-2023 the original author or authors.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@ -24,14 +24,14 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.nanoboot.essential</groupId>
<artifactId>nanoboot-checks</artifactId>
<artifactId>nanoboot-javaformat-checkstyle</artifactId>
<version>0.1.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>nanoboot-checks</name>
<name>nanoboot-javaformat-checkstyle</name>
<properties>
<javase.version>19</javase.version>
<javase.version>21</javase.version>
</properties>
<build>
<resources>

View File

@ -1,7 +1,7 @@
///////////////////////////////////////////////////////////////////////////////////////////////
// nanoboot-checks: Encapsulates Nanoboot Checkstyle XML configuration file.
// Copyright (C) 2018-2022 the original author or authors.
// nanoboot-javaformat-checkstyle: Encapsulates Nanoboot Checkstyle XML configuration file.
// Copyright (C) 2018-2023 the original author or authors.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@ -17,13 +17,13 @@
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
///////////////////////////////////////////////////////////////////////////////////////////////
package org.nanoboot.nanobootchecks;
package org.nanoboot.nanobootjavaformatcheckstyle;
/**
* A dummy class
* @author robertvokac@nanoboot.org
*/
public class NanobootChecks {
public class NanobootJavaFormatCheckstyle {
public static void main(String[] args) {
System.out.println("Hello. This is only a dummy class and does nothing.");
}