mirror of
https://github.com/PaperMC/Velocity.git
synced 2025-04-12 16:50:31 +08:00
Preparing for maven repo deployment.
This commit is contained in:
parent
7b84da2fa7
commit
bc48fcb9a8
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -2,7 +2,7 @@ pipeline {
|
||||
agent {
|
||||
docker {
|
||||
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'
|
||||
}
|
||||
}
|
||||
stage('Deploy Artifacts') {
|
||||
steps {
|
||||
sh './gradlew publish'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user