Compare commits
4 Commits
0.0.1.post
...
0.0.1.post
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5eb2f1c5cf | ||
|
|
65927077aa | ||
|
|
0c02512814 | ||
|
|
9f900ba597 |
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@@ -176,8 +176,11 @@ pipeline {
|
||||
else
|
||||
{
|
||||
echo "new-tag requested in commit message: $BUMPED_VERSION"
|
||||
sh("git tag -a $BUMPED_VERSION")
|
||||
sh("git push origin master --tags")
|
||||
withCredentials([usernamePassword(credentialsId: _SCMCredentials, passwordVariable: 'GIT_PASSWORD', usernameVariable: 'GIT_USERNAME')]) {
|
||||
sh("git remote set-url origin https://${GIT_USERNAME}:${GIT_PASSWORD}@chacha.ddns.net/gitea/${GIT_USERNAME}/${_GITEA_PROJECT_NAME}.git")
|
||||
}
|
||||
sh("git tag $BUMPED_VERSION")
|
||||
sh("git push origin --tags")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user