jbzoo/teamcity-keykeeper

This package is abandoned and no longer maintained. No replacement package was suggested.

Save and restore keys for Teamcity builds

1.1.1 2018-11-06 11:50 UTC

This package is auto-updated.

Last update: 2020-08-17 08:57:33 UTC


README

Save some string data between Teamcity builds and restore them as environment variables.

Save

teamcity-keykeeper key:save    --name="some_env_var_name"  --value="some_value";
teamcity-keykeeper key:save    --name="some_env_var_name2" --value="some_value2";

Restore

teamcity-keykeeper key:restore --all;
##teamcity[setParameter name='env.SOME_ENV_VAR_NAME' value='some_value']
##teamcity[setParameter name='env.SOME_ENV_VAR_NAME2' value='some_value2']

Get clean

teamcity-keykeeper key:get --name="some_env_var_name";
some_value

License

MIT