Home
TeamCity Support | JetBrains
Contact Support
Community
Sign in

Michael Goh

Avatar
  • Total activity 4
  • Last activity January 06, 2022 23:08
  • Member since January 06, 2022 22:29
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 1
Activity overview Posts (1) Comments (2)
Sort by recent activity Recent activity Votes
  • Created January 06, 2022 23:08
    I figured it out by using for /f git log -1 --pretty=format:%%%s >> out.tmpfor /f "tokens=1 delims=:" %%%A in (out.tmp) do set ticket=%%%Adel out.tmp
    1. Community
    2. TeamCity General Topics
    3. Save output from a command to a temporary environment variable
    • 0 votes
  • Created January 06, 2022 22:30
    I had also tried setting the environment variable as so:set ticket=${git log -1 --pretty=format:%%%s}
    1. Community
    2. TeamCity General Topics
    3. Save output from a command to a temporary environment variable
    • 0 votes
Copyright © 2000– JetBrains s.r.o.