Skip to content

Commit 8065f28

Browse files
[JENKINS-57841] Make yaml more consistent. remove unnecessary properties.
1 parent 4468f33 commit 8065f28

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

examples/multi-container.groovy

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,16 @@ spec:
99
containers:
1010
- name: maven
1111
image: maven:3.3.9-jdk-8-alpine
12-
command: ['cat']
13-
tty: true
12+
command:
13+
- sleep
14+
args:
15+
- 9999999
1416
- name: golang
1517
image: golang:1.8.0
16-
command: ['sleep']
17-
args: ['9999999']
18+
command:
19+
- sleep
20+
args:
21+
- 9999999
1822
"""
1923
) {
2024

src/test/resources/org/csanchez/jenkins/plugins/kubernetes/pipeline/declarative.groovy

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ pipeline {
55
containerTemplate {
66
name 'maven'
77
image 'maven:3.3.9-jdk-8-alpine'
8-
ttyEnabled false
98
command 'sleep'
109
args '9999999'
1110
}

0 commit comments

Comments
 (0)