File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ pipeline {
1414 GITHUB_CREDENTIAL_ID = 'github-id'
1515 KUBECONFIG_CREDENTIAL_ID = 'demo-kubeconfig'
1616 REGISTRY = 'docker.io'
17- DOCKERHUB_NAMESPACE = 'shaowenchen '
17+ DOCKERHUB_NAMESPACE = 'docker_username '
1818 GITHUB_ACCOUNT = 'kubesphere'
1919 APP_NAME = 'devops-java-sample'
2020 }
@@ -26,19 +26,6 @@ pipeline {
2626 }
2727 }
2828
29- stage ('install podman') {
30- steps {
31- container ('maven') {
32- sh '''
33- curl -L -o /etc/yum.repos.d/devel:kubic:libcontainers:stable.repo https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_7/devel:kubic:libcontainers:stable.repo
34- yum -y install podman
35- mv /usr/bin/docker /usr/bin/docker_ce
36- ln -s /usr/bin/podman /usr/bin/docker
37- '''
38- }
39- }
40- }
41-
4229 stage ('unit test') {
4330 steps {
4431 container ('maven') {
You can’t perform that action at this time.
0 commit comments