func NewJobSpec(spec prowapi.ProwJobSpec, buildID, prowJobID string) JobSpec {
	return JobSpec{
		Type:      spec.Type,
		Job:       spec.Job,
		BuildID:   buildID,
		ProwJobID: prowJobID,
		Refs:      spec.Refs,
		ExtraRefs: spec.ExtraRefs,
		agent:     spec.Agent,
	}
}
func NewJobSpec(spec prowapi.ProwJobSpec, buildID, prowJobID string) JobSpec {
	return JobSpec{
		Type:      spec.Type,
		Job:       spec.Job,
		BuildID:   buildID,
		ProwJobID: prowJobID,
		Refs:      spec.Refs,
		ExtraRefs: spec.ExtraRefs,
		agent:     spec.Agent,
	}
}
func NewJobSpec ( spec prowapi . ProwJobSpec , buildID , prowJobID string ) JobSpec { return JobSpec { Type : spec . Type , Job : spec . Job , BuildID : buildID , ProwJobID : prowJobID , Refs : spec . Refs , ExtraRefs : spec . ExtraRefs , agent : spec . Agent , } }
// NewJobSpec converts a prowapi.ProwJobSpec invocation into a JobSpec
NewJobSpec converts a prowapi . ProwJobSpec invocation into a JobSpec