geforkt von Mirrors/Velocity
Preparing for maven repo deployment.
Dieser Commit ist enthalten in:
Ursprung
7b84da2fa7
Commit
bc48fcb9a8
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -2,7 +2,7 @@ pipeline {
|
|||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
image 'openjdk:8-jdk-slim'
|
image 'openjdk:8-jdk-slim'
|
||||||
args '-v gradle-cache:/root/.gradle:rw'
|
args '-v gradle-cache:/root/.gradle:rw -v maven-repo:/maven-repo:rw'
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -18,5 +18,10 @@ pipeline {
|
|||||||
sh './gradlew test'
|
sh './gradlew test'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Deploy Artifacts') {
|
||||||
|
steps {
|
||||||
|
sh './gradlew publish'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren