Hi

I'm trying to fix the occasional MSBuild error:

"Fatal error C1090: PDB API call failed, error code '23'"

1.      The advice given in 
JENKINS-9104<https://issues.jenkins-ci.org/browse/JENKINS-9104> is to inject 
the following environment variable using EnvInject:

_MSPDBSRV_ENDPOINT_=$BUILD_TAG

I don't really understand the difference between defining and injecting an 
environment variable.  I want to specify this setting directly in a declarative 
script.  I could do:

stage('build_VisualStudio') {
        agent { label "jenkinswin10" }
        environment { _MSPDBSRV_ENDPOINT_=$BUILD_TAG }
etc.

Would that be sufficient or must env variable injection be done in a different 
way?

Best regards

David

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ddde7031f8154464b33559098ec26027%40EUX13SRV1.EU.NEC.COM.
For more options, visit https://groups.google.com/d/optout.

Reply via email to