[JIRA] (JENKINS-57661) The incrementals-publisher does not provide a reason for some 400 Bad Request errors

6 views
Skip to first unread message

chris+jenkins@chriskilding.com (JIRA)

unread,
May 24, 2019, 8:35:01 AM5/24/19
to jenkinsc...@googlegroups.com
Chris Kilding created an issue
 
Jenkins / Bug JENKINS-57661
The incrementals-publisher does not provide a reason for some 400 Bad Request errors
Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 2019-05-24 12:34
Environment: Server: ci.jenkins.io
Priority: Minor Minor
Reporter: Chris Kilding

When my plugin deploys to Jenkins Incrementals on ci.jenkins.io, sometimes I get a 400 Bad Request response but with no explanation in the body. This means that I (the plugin author) cannot know what has gone wrong.

In addition, the deploy step of the plugin build passes, even though an error has occurred.

An example build: https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Faws-secrets-manager-credentials-provider-plugin/detail/support%2Fdocumentation/5/pipeline

Note: I filed this under ‘core’ because there was no component for ‘community-functions’.

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

chris+jenkins@chriskilding.com (JIRA)

unread,
May 24, 2019, 8:37:01 AM5/24/19
to jenkinsc...@googlegroups.com

chris+jenkins@chriskilding.com (JIRA)

unread,
May 29, 2019, 10:59:02 AM5/29/19
to jenkinsc...@googlegroups.com

After I merged my ‘enable incremental releases’ branch to master and released an initial alpha version of my plugin to Artifactory, this error went away and deployments to incrementals started working. (I do not know which of these two actions fixed the problem though.)

This precondition was non-obvious and undocumented, so I propose the following changes:

  • A comment should be added to the https://github.com/jenkinsci/incrementals-tools README to say that incrementals releases will not work from branches until (either the master branch sees a successful incrementals release, or at least one version of the plugin is published with mvn release:perform - whichever of these was the cause).
  • An instructive warning should be emitted from the incrementals-publisher function when this edge case occurs.

chris+jenkins@chriskilding.com (JIRA)

unread,
May 30, 2019, 10:35:02 AM5/30/19
to jenkinsc...@googlegroups.com
Chris Kilding closed an issue as Duplicate
 
Change By: Chris Kilding
Status: Open Closed
Resolution: Duplicate
Reply all
Reply to author
Forward
0 new messages