environment test
This commit is contained in:
parent
6c4420e5b4
commit
1fda81c51c
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
|
@ -1,12 +1,9 @@
|
|||
/* pipeline 변수 설정 */
|
||||
def DOCKER_IMAGE_NAME = "twofootdog/project-repo" // 생성하는 Docker image 이름
|
||||
def DOCKER_IMAGE_TAGS = "batch-visualizer-auth" // 생성하는 Docker image 태그
|
||||
def NAMESPACE = "ns-project"
|
||||
def VERSION = "${env.BUILD_NUMBER}"
|
||||
def label = "worker-${UUID.randomUUID().toString()}"
|
||||
def DATE = new Date();
|
||||
|
||||
|
||||
podTemplate(
|
||||
label: 'builder',
|
||||
label: label,
|
||||
containers: [
|
||||
containerTemplate(name: 'gradle', image: 'gradle:7.6-jdk11', command: 'cat', ttyEnabled: true),
|
||||
],
|
||||
|
@ -16,7 +13,7 @@ podTemplate(
|
|||
)
|
||||
|
||||
{
|
||||
node('builder') {
|
||||
node(label) {
|
||||
def myRepo = checkout scm
|
||||
def gitCommit = myRepo.GIT_COMMIT
|
||||
def gitBranch = myRepo.GIT_BRANCH
|
||||
|
|
Loading…
Reference in New Issue
Block a user