i have python script runs build step in teamcity 9.0. need know branch name build triggered. use %teamcity.build.branch%
branch name. need passed on script can use condition checking. possible? how? please me out.
you can pass parameters python script if you're running terminal, code need run be
$ python myscript.py %teamcity.build.branch%
alternatively, install python build runner pass parameters through scripts / source code through ui
hope helps
Comments
Post a Comment