I have a build promotion process modeled after this discussion (using the advanced builds plugin.) In general, it works great. However, for a few "tastes" of the promotion process (not for everyone), I would like to click the git tag. I implemented this using the “execute shell” step as one of the advertising actions. This works well, and then today failed with the error below. I suspect that I landed on a workstation where the workspace has not yet been initialized for git - and that I was lucky in the past (using Cloudbees - where slaves are built dynamically).
I tried the "git publisher", but it looks like you are expecting to be in the setup where the git plugin has already done its job. Has anyone been able to reliably click a tag from the build promotion phase?
+ git checkout develop fatal: Not a git repository (or any of the parent directories): .git
Disclaimer: I don't know anything about Git.
${WORKSPACE}. , , , ( , ). , . , , , .
${WORKSPACE}
SCM , :
, SCM ( ). "/" SVN, , Git. , "", Git . " ", Git . EnvInject, , Git .
- "/ " , , , , Git.
:
git tag MYTAG ${PROMOTED_GIT_COMMIT} git push --tags
, , , , , .
Source: https://habr.com/ru/post/1535424/More articles:heroku pg: do not retrieve tables from heroku database - windows-7Could not find local psql command - windowsAllow MPMoviePlayerViewController to play in the landscape while maintaining the orientation of the view view controller - iosShould I reorganize a few ng-if conditions in angularjs? - javascriptHow to change selector for ItemLoader - pythonDifferent color groups in the R-chart - rggplot: change the hue differently for 2 geomes covering the same grouping - rJSON parsing in Logstash - log4jNSTextField syntax for sending textDidEndEditing - objective-chttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1535429/how-to-create-keyboard-shortcuts-to-matlab-scripts&usg=ALkJrhi7BJqYOJePZlUL2qoiBRolyy0elwAll Articles