Perforce 2007.3 Command Reference | ||
<< Previous Chapter p4 integrated |
Table of Contents Index Perforce on the Web |
Next Chapter >> p4 jobs |
Jobs are similar to changelist descriptions in that they both describe changes to the system as arbitrary text, but whereas changelist descriptions describe completed work, jobs tell developers what work needs to be done.
Jobs are created and edited in forms displayed by p4 job. The user enters the textual description of the job into the form, along with information such as the severity of the bug, the developer to whom the bug is assigned, and so on. Since the Perforce superuser can change the fields in the job form with p4 jobspec, the fields that make up a job may vary from one Perforce server to another.
When p4 job is called with no arguments, a new job named jobNNNNNN is created, where NNNNNN is a sequential six-digit number. You can change the job's name within the form before quitting the editor. If p4 job is called with a jobname argument, a job of that name is created; if that job already exists, it is edited.
Once a job has been created, you can link the job to the changelist(s) that fix the job with p4 fix, p4 change, or p4 submit. When a job is linked to a changelist, under most circumstances the job's status is set to closed. (See the Usage Notes below for more information).
-d jobname |
Delete job jobname, but only if it has no associated pending or submitted fixes. |
-f |
Force flag. Allows Perforce administrators to edit read-only fields. |
-i |
Read the job form from standard input without invoking an editor. |
-o |
Write the job form to standard output without invoking an editor. |
See the Global Options section. |
To list all jobs, or a subset of jobs | |
To attach a job to an existing changelist | |
To view a list of connections between jobs and changelists | |
To add or delete a job from a pending changelist | |
To change the format of jobs at your site (superuser only) | |
To read information about the format of jobs at your site |
p4 jobspec -o |
Perforce 2007.3 Command Reference | ||
<< Previous Chapter p4 integrated |
Table of Contents Index Perforce on the Web |
Next Chapter >> p4 jobs |