Is there a way to run a build using Snapshot Dependency while providing an overriding value for System properties or Environment variables?
In this setup:
Build Config 1 - Build RPM
Environment variable - env.release_ready default value no
Build Config 2 - Publish
Artifact dependency - Build RPM
Developers will run Build RPM with the env.release_ready flag off for testing.
When the product is ready to be shipped, we run Publish which should run Build RPM with env.release_ready value on, so that the build script will detect the environment variable and perform additional tasks. Once Build RPM successfully creates a release-ready rpm, Publish picks it up and puts it in a network drive.
However, I cannot find a way to override a parameter of a dependency.
Is this possible somehow, or can you please think of a different, yet just as easy, solution?