likyh commented on code in PR #3700:
URL:
https://github.com/apache/incubator-devlake/pull/3700#discussion_r1017807405
##########
plugins/jenkins/models/response.go:
##########
@@ -17,32 +17,17 @@ limitations under the License.
package models
-type ApiResponse struct {
- URL string `json:"url"`
- Jobs []Job `json:"jobs"`
- Mode string `json:"mode"`
- Views []Views `json:"views"`
- Class string `json:"_class"`
- NodeName string `json:"nodeName"`
- UseCrumbs bool `json:"useCrumbs"`
- Description interface{} `json:"description"`
- OverallLoad OverallLoad `json:"overallLoad"`
- PrimaryView PrimaryView `json:"primaryView"`
- UseSecurity bool `json:"useSecurity"`
- NumExecutors int `json:"numExecutors"`
- QuietingDown bool `json:"quietingDown"`
- UnlabeledLoad UnlabeledLoad `json:"unlabeledLoad"`
- AssignedLabels []AssignedLabels `json:"assignedLabels"`
- SlaveAgentPort int `json:"slaveAgentPort"`
- NodeDescription string `json:"nodeDescription"`
-}
type Job struct {
- URL string `json:"url"`
+ FullName string `gorm:"primaryKey;type:varchar(255)"`
+ Path string `gorm:"primaryKey;type:varchar(511)"`
Review Comment:
ok
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]