mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-15 08:18:55 +00:00
Merged clean tasks
This commit is contained in:
parent
5e4738ba2e
commit
f5f2371777
2 changed files with 4 additions and 10 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -6,7 +6,7 @@ node {
|
|||
|
||||
stage 'Gradle Build'
|
||||
try {
|
||||
sh "./gradlew -PuseJenkinsSnapshots=true cleanLocalMavenRepo cleanLocalP2Repo clean build createLocalMavenRepo --refresh-dependencies --continue"
|
||||
sh "./gradlew -PuseJenkinsSnapshots=true clean build createLocalMavenRepo --refresh-dependencies --continue"
|
||||
archive 'build/maven-repository/**/*.*'
|
||||
} finally {
|
||||
step([$class: 'JUnitResultArchiver', testResults: '**/build/test-results/test/*.xml'])
|
||||
|
|
12
build.gradle
12
build.gradle
|
@ -30,14 +30,8 @@ subprojects {
|
|||
apply from: "${rootDir}/gradle/validation.gradle"
|
||||
}
|
||||
|
||||
task cleanLocalMavenRepo(type: Delete) {
|
||||
task clean(type: Delete) {
|
||||
group 'Build'
|
||||
description 'Deletes the local Maven repository'
|
||||
delete 'build/maven-repository'
|
||||
}
|
||||
|
||||
task cleanLocalP2Repo(type: Delete) {
|
||||
group 'Build'
|
||||
description 'Deletes the local P2 repository'
|
||||
delete 'build/p2-repository'
|
||||
description 'Deletes the local repositories'
|
||||
delete 'build'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue