Allow build config to be controlled by job name.

Refs #9877
Fix logic error buildscript bat file.

The string-contains check requires a not for it to be considered true
as the test is whether replacing the word in the string produces the same
result. If it does not then it is considered to be in the string.

Refs #9877
Merge remote-tracking branch 'origin/feature/9877_jenkins_buildscript_configurations'