I have separated a bug Hudson job into smaller jobs. Job A does the main build and Job B another build with different configuration. I configure Hudson, so that the A triggers B and it works fine. The problem is that Job A has the original build number and B just started from 1.
My question is: Is it possible to pass the BUILD_NUMBER environment variable somehow from Job A to Job B? The build number is used in the build artifact names, hence it would be nice to have the numbers match between artifacts.
Thanks.