You can divide the three assembly steps into 2 assembly configurations with a snapshot dependency between them. The first build configuration will contain the first two build steps. The dependency should be set to 'Run build on the same agent' and 'Do not run new build if there is a suitable one' . This will combine the two configurations together, but if necessary, will allow you to simply run the second configuration if nothing has changed in the source.
Depending on your installation, this may or may not be a suitable solution. This may work fine if at the third stage of the assembly some tests are performed that need to be re-run without recompiling the code.
source share