-
Notifications
You must be signed in to change notification settings - Fork 0
/
wercker.yml
39 lines (37 loc) · 1.58 KB
/
wercker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# This references an OpenJDK container from the
# Docker Hub https://hub.docker.com/_/openjdk/
# Read more about containers on our dev center
# https://devcenter.wercker.com/overview-and-core-concepts/containers/
box: openjdk:11-jdk
# This is the build pipeline. Pipelines are the core of wercker
# Read more about pipelines on our dev center
# https://devcenter.wercker.com/development/pipelines/
build:
# Steps make up the actions in your pipeline
# Read more about steps on our dev center:
# https://devcenter.wercker.com/development/steps/
steps:
# https://github.com/wercker/step-maven
- script:
code: echo '<?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers><server><id>packagecloud-myrepo</id><password>'$MAVEN_API_KEY'</password></server></servers>
</settings>' > my-settings.xml
- wercker/maven: openjdk:11-jdk
goals: assembly:single
settings: my-settings.xml
cache_repo: true
version: 3.5.2
sonar:
steps:
- wercker/maven: openjdk:11-jdk
goals: clean package sonar:sonar -Dmaven.test.failure.ignore=true -Dsonar.host.url=https://sonar.nigelvanhattum.nl -Dsonar.login=$SONAR_IO_AUTH
cache_repo: true
version: 3.5.2
pit:
steps:
- wercker/maven: openjdk:11-jdk
goals: clean package org.pitest:pitest-maven:mutationCoverage
cache_repo: true
version: 3.5.2