Обновить Jenkinsfile
This commit is contained in:
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -35,11 +35,14 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Build with Gradle') {
|
||||
stage('Build with Gradle and Prepare DockerDist') {
|
||||
steps {
|
||||
sh './gradlew clean --refresh-dependencies'
|
||||
sh './gradlew nTDC build dockerFile dockerUD rdbDockerFile distDockerCompose'
|
||||
sh "cp -r build/distDockerCompose /docker-projects/${params.STAND_ID}"
|
||||
sh "cp -r build/rdbDocker/ncore-<%%RESERVED_NAME%%>.fdb /docker-projects/${params.STAND_ID}/db/<%%RESERVED_NAME%%>.fdb"
|
||||
sh "mkdir /docker-projects/${params.STAND_ID}/logs"
|
||||
sh "mkdir /docker-projects/${params.STAND_ID}/rdblogs"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user