0

我尝试在 JIRA 中启用 Perforce 作业集成,我填写了所有JobspecPerforce.

com.perforce.api.CommitException java.io.IOException: error: Error in job specification.error: Error detected at line 8.error: Syntax error in 'jobs'.
4

1 回答 1

0

我不确定你试图做什么,因为你没有你的工作规格文件+这个问题在这里挂了一段时间......

这是我使用并为我工作的规范文件:

# A Perforce Spec Specification.
#
#  Updating this form can be dangerous!
#  To update the job spec, see 'p4 help jobspec' for proper directions.
#  Otherwise, see 'p4 help spec'.

Fields:
    101 Job word 32 required
    102 Status select 10 required
    103 User word 32 required
    104 Date date 20 always
    105 Description text 0 required
    110 IssueStatus line 32 optional
    111 URL line 60 optional
    112 Assignee word 32 optional
    113 Project word 32 optional
    114 Priority line 32 optional
    115 Type line 32 optional

Values:
    Status open/suspended/closed

Presets:
    Status open
    User $user
    Date $now
    Description $blank

Comments:
    # A Perforce Job Specification.
    #
    #  Job:         The job name.  'new' generates a sequenced job number.
    #  Status:      Either 'open', 'closed', or 'suspended'. Can be changed.
    #  User:        The user who created the job. Can be changed.
    #  Date:        The date this specification was last modified.
    #  Description: Comments about the job.  Required.

请注意,为使集成起作用而添加的所有字段都是可选的(如果我没记错的话,建议将其设置为“必需”,但可选对我有用并将它们设置为可选...)

于 2016-12-26T09:37:05.187 回答