Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [environment-variables]

The tag has no usage guidance.

0
votes
2answers
22 views

How to get list of env variables from the root folder to jenkins job?

Using configure option, when we check the environment variables, we get only the variables which are available with in the folder or job. But, I want to get complete list of env variable from the ...
0
votes
3answers
62 views

Is there a php (or composer) command to change upload_max_filesize && post_max_size from terminal?

Is there a php (or composer) terminal command to change the php.ini variables upload_max_filesize and post_max_size from terminal to some value directly from terminal, without sed or awk operations? ...
2
votes
1answer
32 views

Environment variable names, when my development environment has multiple projects

The context is that I'm looking at doing staging/testing and production on a kubernetes cluster. Where I might have some code that looks like this: doSomething({ username: process.env....
0
votes
0answers
26 views

Valid use case for environment variable with length of zero?

Are there any valid use cases for allowing an environment variable to have a length of 0? $ FOO="" # why would anyone do this? The use case is that I'm writing a utility that parses environment ...
1
vote
1answer
3k views

Accessing the committer's name as a Jenkinsfile environment variable

Using the env.BRANCH_NAME variable accessible in the Jenkinsfile outside of the pipeline{} block, I have set up a variable used to conditionally set the node used to build the git branch. I would like ...
11
votes
2answers
888 views

How should I store my environment variables?

This is a very broad question about methods and advice regarding environment variables / structure. But ultimately I'm looking for answers for the very specific question of 'How should I store my ...