Skip to content
This repository was archived by the owner on Nov 23, 2021. It is now read-only.

Commit 3e202b0

Browse files
authored
Update Jenkinsfile-online
1 parent 9ea8fae commit 3e202b0

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

Jenkinsfile-online

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@ pipeline {
4949
steps {
5050
container ('maven') {
5151
sh 'mvn -Dmaven.test.skip=true -gs `pwd`/configuration/settings.xml clean package'
52-
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
53-
yum -y install podman
54-
mv /usr/bin/docker /usr/bin/docker_ce
55-
ln -s /usr/bin/podman /usr/bin/docker
5652
sh 'docker build -f Dockerfile-online -t $REGISTRY/$DOCKERHUB_NAMESPACE/$APP_NAME:SNAPSHOT-$BRANCH_NAME-$BUILD_NUMBER .'
5753
withCredentials([usernamePassword(passwordVariable : 'DOCKER_PASSWORD' ,usernameVariable : 'DOCKER_USERNAME' ,credentialsId : "$DOCKER_CREDENTIAL_ID" ,)]) {
5854
sh 'echo "$DOCKER_PASSWORD" | docker login $REGISTRY -u "$DOCKER_USERNAME" --password-stdin'

0 commit comments

Comments
 (0)