Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
Signed-off-by: Liang Huang <[email protected]>
  • Loading branch information
yellow-shine committed May 26, 2024
1 parent e2c24da commit b9ae51a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions ci/jenkins/PublishImages/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ pipeline {
// defaultContainer 'jnlp'
// yamlFile 'ci/jenkins/pod/meta-builder.yaml'
yaml '''
apiVersion: v1
kind: Pod
spec:
securityContext:
runAsUser: 1000 # default UID of jenkins user in agent image
Expand All @@ -17,6 +15,11 @@ pipeline {
command:
- cat
tty: true
- name: tekton
image: rancher/tekton-utils:v0.1.43
command:
- cat
tty: true
'''
}
}
Expand All @@ -35,7 +38,7 @@ pipeline {
}
stage('list pod') {
steps {
container('kubectl') {
container('tekton') {
script {
// sh 'kubectl get pod'
// "ls -lah".execute().text.eachLine { line ->
Expand Down

0 comments on commit b9ae51a

Please sign in to comment.