goops setenv
Sets environment variables, and runs common tasks. Should be called prior to other commands
Synopsis
Sets environment variables, and runs common tasks. Should be called prior to other commands. This command will call version and issues commands internally. And will save following variables to gitlab.env file: CI_SEMVER_RELEASE, CI_SEMVER, CI_ISSUES. This way allows to share variables between pipeline stages. Variables can be used in next stages by reading them from gitlab.env file, using command "source .goops.env". If build is not in merge context CI_ISSUES will be fetched from previous merged merge request. All CI_ISSUES will be assigned to CI_SEMVER_RELEASE version in Jira.
goops setenv [flags]
Options
-h, --help help for setenv
Options inherited from parent commands
--config string config file (default is $HOME/.goops.yaml)
--debug Debug output
--info Info output
--no-color Disable ANSI color output
--trace Trace output
SEE ALSO
- goops - DevOps toolset written in Go.