Compare commits
No commits in common. "c5f496966605f9191586a8ec369e6b92cb2d879e" and "544210a8119e4e2dfaf0c9a0de5f3778b7724585" have entirely different histories.
c5f4969666
...
544210a811
37
Jenkinsfile
vendored
37
Jenkinsfile
vendored
@ -1,37 +0,0 @@
|
|||||||
pipeline {
|
|
||||||
agent any
|
|
||||||
|
|
||||||
options {
|
|
||||||
ansiColor('xterm')
|
|
||||||
}
|
|
||||||
|
|
||||||
stages {
|
|
||||||
stage('Build') {
|
|
||||||
steps {
|
|
||||||
sh 'mvn -DskipTests clean package'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage('Test') {
|
|
||||||
steps {
|
|
||||||
sh 'mvn test'
|
|
||||||
}
|
|
||||||
post {
|
|
||||||
always {
|
|
||||||
junit '*/target/surefire-reports/*.xml'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage('SonarQube Analysis') {
|
|
||||||
steps {
|
|
||||||
withSonarQubeEnv('KSKE SonarQube') {
|
|
||||||
sh 'mvn org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
post {
|
|
||||||
success {
|
|
||||||
archiveArtifacts artifacts: 'client/target/envoy-client-*-shaded.jar, server/target/envoy-server-jar-with-dependencies.jar'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -18,10 +18,10 @@ import envoy.util.SerializationUtils;
|
|||||||
* @author Leon Hofmeister
|
* @author Leon Hofmeister
|
||||||
* @since Envoy Common v0.1-beta
|
* @since Envoy Common v0.1-beta
|
||||||
*/
|
*/
|
||||||
public class UserTest {
|
class UserTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void test() throws IOException, ClassNotFoundException {
|
void test() throws IOException, ClassNotFoundException {
|
||||||
User user2 = new User(2, "kai");
|
User user2 = new User(2, "kai");
|
||||||
User user3 = new User(3, "ai");
|
User user3 = new User(3, "ai");
|
||||||
User user4 = new User(4, "ki", Set.of(user2, user3));
|
User user4 = new User(4, "ki", Set.of(user2, user3));
|
||||||
|
7
pom.xml
7
pom.xml
@ -28,13 +28,6 @@
|
|||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
|
||||||
<version>3.0.0-M5</version>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
|
Reference in New Issue
Block a user