Hi I'm publishing contracts from a Nodejs consumer...
# pact-js
a
Hi I'm publishing contracts from a Nodejs consumer running
@pact-foundation/pact: 12.5.2
and using the
--auto-detect-version-properties
switch when using the pact-broker publish command. This is running in a BitBucket Cloud pipeline. The docs say this flag:
Copy code
Automatically detect the repository commit, branch and build URL from known CI environment variables or git CLI
When I look in the
branch_versions
table I can see a new row with the expected branch name and underlying version number, but: • The associated row of
versions
has blank
build_url
and
repository_ref
columns (I'm assuming the former should contain the "build URL" described above • I'm not sure where the "repository commit" alluded to above would crop up in the pact broker DB, so I'm not sure where to check for that. Should I expect repository commit and build URL to be recorded in the DB somewhere? If they should be, any advice for how to track down why they are not appearing?
m