janjoerke / vscode-jenkins-pipeline-linter-connector

MIT License
60 stars 21 forks source link

Cannot use environment variables for username and password. #13

Open sheeeng opened 5 years ago

sheeeng commented 5 years ago
{
  "jenkins.pipeline.linter.connector.user": "${env.JENKINS_ADMINISTRATOR_USERNAME}",
  "jenkins.pipeline.linter.connector.pass": "${env.JENKINS_ADMINISTRATOR_PASSWORD}",
}

If I use the above configuration, this linter will return the below error.

TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Jenkins-Crumb"]