Summary
When emulating GNU Make, if the eMake Ledger feature is used, then $? is equivalent to $^
As of 6.1, in nmake emulation mode, $? is equivalent to $**
This means that "the names of all prerequisites that are newer than the target" is equivalent to "the names of ALL prerequisites".
This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.