We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de111fb commit 731d958Copy full SHA for 731d958
Jenkinsfile
@@ -50,7 +50,11 @@ pipeline {
50
steps {
51
unstash 'dll'
52
pwsh 'git tag $Env:RELEASE_TAG'
53
- pwsh 'git push --tags'
+ withCredentials([string(credentialsId: 'github-access-token', variable: 'GITHUB_TOKEN')]) {
54
+ pwsh 'git remote add origin-access https://$Env:GITHUB_TOKEN@github.com/tutao/mapirs.git'
55
+ pwsh 'git push origin-access --tags'
56
+ pwsh 'git remote remove origin-access'
57
+ }
58
sleep(10)
59
pwsh '''
60
echo $Env:RELEASE_TAG
0 commit comments