Ticket #179 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

buildbot shows wrong $PWD in environment variables

Reported by: slinkp Owned by: dustin
Priority: major Milestone: 0.7.10
Version: 0.7.6 Keywords:
Cc: dustin

Description

The web display for buildbot steps shows all environment variables including $PWD. The $PWD shown does not match the "in dir" shown before the environment variables. This is confusing.

I spent a long time wondering why my shell commands were failing with "No such file or directory", because I believed the displayed $PWD and didn't notice the "in dir" up top.

Attachments

179.patch Download (617 bytes) - added by dustin 3 years ago.
179.patch

Change History

comment:1 Changed 4 years ago by dustin

  • Cc dustin added

I've noticed this too. Probably the best option is just to set $PWD when changing to the build directory, so that it indicates the actual PWD. Want to write up a patch?

comment:2 Changed 3 years ago by dustin

  • Owner set to dustin

Changed 3 years ago by dustin

179.patch

comment:3 Changed 3 years ago by dustin

  • Keywords review added
  • Milestone changed from undecided to 0.7.9

comment:4 Changed 3 years ago by warner

looks good to me

comment:5 Changed 3 years ago by dustin

  • Keywords review removed
  • Status changed from new to closed
  • Resolution set to fixed

in my branch.

comment:6 Changed 3 years ago by dustin

  • Milestone changed from 0.8.0 to 0.7.+

comment:7 Changed 3 years ago by dustin

  • Milestone changed from 0.7.+ to 0.7.10
Note: See TracTickets for help on using tickets.