Commit dc5f0d93 authored by devops's avatar devops

Update Jenkinsfile-on-prem

parent 16aa689a
...@@ -97,7 +97,7 @@ pipeline { ...@@ -97,7 +97,7 @@ pipeline {
sh 'git config --global user.email "kubesphere@yunify.com" ' sh 'git config --global user.email "kubesphere@yunify.com" '
sh 'git config --global user.name "kubesphere" ' sh 'git config --global user.name "kubesphere" '
sh 'git tag -a $TAG_NAME -m "$TAG_NAME" ' sh 'git tag -a $TAG_NAME -m "$TAG_NAME" '
sh 'git push http://$GIT_USERNAME:$GIT_PASSWORD@gitlab.devops.kubesphere.local:30080/$GITLAB_ACCOUNT/devops-java-sample.git --tags --ipv4' sh 'git push http://$GIT_USERNAME:$GIT_PASSWORD@git.omniview.pro/devops/devops-java-sample.git --tags --ipv4'
} }
sh 'docker tag $REGISTRY/$HARBOR_NAMESPACE/$APP_NAME:SNAPSHOT-$BRANCH_NAME-$BUILD_NUMBER $REGISTRY/$HARBOR_NAMESPACE/$APP_NAME:$TAG_NAME ' sh 'docker tag $REGISTRY/$HARBOR_NAMESPACE/$APP_NAME:SNAPSHOT-$BRANCH_NAME-$BUILD_NUMBER $REGISTRY/$HARBOR_NAMESPACE/$APP_NAME:$TAG_NAME '
sh 'docker push $REGISTRY/$HARBOR_NAMESPACE/$APP_NAME:$TAG_NAME ' sh 'docker push $REGISTRY/$HARBOR_NAMESPACE/$APP_NAME:$TAG_NAME '
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment