post build event - how to get upstream project info on a downstream project - Jenkins -
in jenkins, if use post-build trigger start build
what envs available new build.
i need identify, parent builds name, build number, last successful artifacts' url etc.,
in simple words, how upstream project info on downstream project
is possible
you can use parameterized trigger plugin pass variables 1 build next. used in same way post build trigger plugin mentioned you're using already.
it defines variables passed through next job, free define own in box provided, e.g:
artefact_url=www.example.com/builds/$build_number #using variable build something=value upstream_build_name=myproject upstream_build_number=$build_number #note shouldn't override properties set in subsequent builds!
Comments
Post a Comment