-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
bugSomething isn't workingSomething isn't working
Description
CLI Version: dev
TeamCity Server Version: 2026.2
Operating System: macOS
What happened?
tc run start nonexistent_build --dry-run succeeds with exit code 0 without checking if the job exists:
$ tc run start nonexistent_build --dry-run
[dry-run] Would trigger run for nonexistent_build
$ echo $?
0
Expected behavior
--dry-run should validate the job ID against the server and report an error if it doesn't exist. Users expect dry-run to verify what would happen, not just echo input back.
Steps to reproduce
- Run
tc run start any_nonexistent_id --dry-run - Observe success message and exit code 0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working