Skip to content

Commit e297d36

Browse files
authored
Revert "feature: use podman to build (kubesphere#67)" (kubesphere#68)
This reverts commit a94f269.
1 parent a94f269 commit e297d36

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

Jenkinsfile-online

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff 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') {

0 commit comments

Comments
 (0)