Re: building certain git revision

2012-12-07 Thread Evgeny Goldin
n issue of adding this to all 5 jobs we have in a pipeline which starts looking a bit tiresome so I also wonder if other people have solved this problem in a more elegant way. - Best regards, Evgeny http://evgeny-goldin.com/ -- View this message in context: http://jenkins.361315.n4.nabble

Re: building certain git revision

2012-12-07 Thread Evgeny Goldin
Hi Roman, I'm facing exactly the same issue and so far solved it by adding a "commit" String parameter with default value "origin/master" and then running this shell step: echo "Updating to commit [$commit]" git checkout $commit git log --format=format:[%h]-[%cn]-[%cr]-[%s] -10 TeamCity all

building certain git revision

2012-03-15 Thread Roman Ovchinnikov
Hello! I've tried to search myself, but looks like my google-fu is weak. I want to know how what is proper way to specify certain git revision to be built ? I've found how to specify branch via (parameterized option), but not revision. Trying git-parameter plugin, but it looks to be too smart