Answers for "teamcity set environment variable command line"

0

teamcity set environment variable command line

Build Step #1:
#!/bin/bash
echo "##teamcity[setParameter name='env.ddd' value='fff']"
echo "##teamcity[setParameter name='env.datetime' value='$(date)']"

The values of initialized parameters will be avaliable on the next build step:

Build Step #2:
#!/bin/bash
echo $ddd
echo $datetime
Posted by: Guest on August-27-2020

Code answers related to "teamcity set environment variable command line"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language