Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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
Comment

PREVIOUS NEXT
Code Example
Shell :: wsl localhost not working 
Shell :: git add and commit in one command 
Shell :: windows batch script to run application in background 
Shell :: github checkout 
Shell :: how to speed up internet connection ubuntu 20 
Shell :: kill process by name 
Shell :: kali linux not signing in 
Shell :: linux screenshot shortcut 
Shell :: add conda to sudo path 
Shell :: format new disc linux 
Shell :: path too long while extracting zip file 
Shell :: how to compile a python prohram that uses PyQt 
Shell :: disable snap 
Shell :: how to add a zip file 
Shell :: bash help 
Shell :: npm checkup 
Shell :: docker network Rabbitmq 
Shell :: delete all feature branches 
Shell :: command to create jpeg in linux 
Shell :: installing dbeaver 
Shell :: EDIT WSL2 terminal user% 
Shell :: git initialize 
Shell :: git tag documentation 
Shell :: unzip a file terminal 
Shell :: copy a file from home directory to other directory in linux 
Shell :: merge master into feature branch 
Shell :: dos dir to text file 
Shell :: create samba user ubuntu 
Shell :: git pull in forked repo 
Shell :: how to remove apt repository ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =