[JIRA] (JENKINS-57128) Builds array is not created in version 4

2 views
Skip to first unread message

michaelst+jenkins@gmail.com (JIRA)

unread,
Apr 21, 2019, 5:06:03 AM4/21/19
to jenkinsc...@googlegroups.com
Michael S created an issue
 
Jenkins / Bug JENKINS-57128
Builds array is not created in version 4
Issue Type: Bug Bug
Assignee: Mark Waite
Components: git-plugin
Created: 2019-04-21 09:05
Priority: Major Major
Reporter: Michael S

After accidental upgrading to version 4 (rc) our internal scripts stopped working. The script used "/api/python?tree=jobs[name,scm[userRemoteConfigs[url]],builds[changeSet[items[paths[file]]],actions[lastBuiltRevision[SHA1]],result,building,number,duration,estimatedDuration,
url]]" to get information from Jenkins. The "SHA1" is not available anymore. The "build" is not created and I don't see how I can get the commit ID now.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

mark.earl.waite@gmail.com (JIRA)

unread,
Apr 22, 2019, 8:56:02 AM4/22/19
to jenkinsc...@googlegroups.com
Mark Waite assigned an issue to Unassigned
Change By: Mark Waite
Assignee: Mark Waite

mark.earl.waite@gmail.com (JIRA)

unread,
Apr 22, 2019, 9:00:02 AM4/22/19
to jenkinsc...@googlegroups.com
Change By: Mark Waite
Status: Open Fixed but Unreleased
Resolution: Duplicate

mark.earl.waite@gmail.com (JIRA)

unread,
Apr 22, 2019, 9:00:02 AM4/22/19
to jenkinsc...@googlegroups.com
Mark Waite commented on Bug JENKINS-57128
 
Re: Builds array is not created in version 4

Rollback to git plugin 3.9.* and git client plugin 2.7.*. Refer to the following duplicates and pull requests:

michaelst+jenkins@gmail.com (JIRA)

unread,
Apr 22, 2019, 9:07:02 AM4/22/19
to jenkinsc...@googlegroups.com

What I can do for the builds that were built with 4.0.0-rc? How I can put the data back?

mark.earl.waite@gmail.com (JIRA)

unread,
Apr 22, 2019, 9:10:02 AM4/22/19
to jenkinsc...@googlegroups.com

There is no way to put the data back for builds that ran with git plugin 4.0.0-rc.

michaelst+jenkins@gmail.com (JIRA)

unread,
Apr 22, 2019, 9:26:03 AM4/22/19
to jenkinsc...@googlegroups.com

I see. How I can process 4.0.0-rc builds in my script to get the SHA1 of the commit?

mark.earl.waite@gmail.com (JIRA)

unread,
Jan 8, 2020, 6:55:03 AM1/8/20
to jenkinsc...@googlegroups.com
 

Released in git plugin 4.0.0 Nov 2019

Change By: Mark Waite
Status: Fixed but Unreleased Closed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages