How to pass ASPNETCORE_ENVIRONMENT variable to a gulp task in VSO build template -
i have build template in vso gulp task , executes perfectly. problem passing environment variable (set in build variables) not working me. try pass variable using argument: "--environment=%aspnetcore_environment%"
to work arguments inside gulp file i'm using "gutil = require('gulp-util')" , value surprisingly "%aspnetcore_environment%". idea?
the proper syntax "inject" variable in task "$(aspnetcore_environment)".
https://www.visualstudio.com/cs-cz/docs/build/define/variables
Comments
Post a Comment