Skip to content

Commit e40ce74

Browse files
committed
fix git push tag
1 parent 4c6ebbb commit e40ce74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ pipeline {
9595
sh 'git config --global user.email "kubesphere@yunify.com" '
9696
sh 'git config --global user.name "kubesphere" '
9797
sh 'git tag -a $TAG_NAME -m "$TAG_NAME" '
98-
sh 'git push http://$GIT_USERNAME:$GIT_PASSWORD@gitlab.devops.kubesphere.local:30080/$GITLAB_ACCOUNT/$APP_NAME.git --tags'
98+
sh 'git push http://$GIT_USERNAME:$GIT_PASSWORD@gitlab.devops.kubesphere.local:30080/$GITLAB_ACCOUNT/devops-sample-s2i.git --tags'
9999
}
100100
sh 'docker tag $REDISTRY/$NAMESPACE/$APP_NAME:SNAPSHOT-$BRANCH_NAME-$BUILD_NUMBER $REDISTRY/$NAMESPACE/$APP_NAME:$TAG_NAME '
101101
sh 'docker push $REDISTRY/$NAMESPACE/$APP_NAME:$TAG_NAME '

0 commit comments

Comments
 (0)