std-env
std-env copied to clipboard
Jenkins recognized as Hudson
Environment
Latest, Node 22.21.0
Reproduction
Simply check provider during jenkins pipeline execution.
import { provider } from 'std-env';
console.log(provider);
Describe the bug
Currently the providers are recognized based on alphabetical order of config declaration. This causes Jenkins to be recognized as Hudson as Jenkins still provides fallback environment variables for compatibility reasons.
Additional context
No response
Logs