[JIRA] (JENKINS-59401) After Upgrade to Inedo Plugin 2.5.0 could not create package

8 views
Skip to first unread message

jstarbird@scisolutions.com (JIRA)

unread,
Sep 16, 2019, 8:49:03 PM9/16/19
to jenkinsc...@googlegroups.com
Jon Starbird created an issue
 
Jenkins / Bug JENKINS-59401
After Upgrade to Inedo Plugin 2.5.0 could not create package
Issue Type: Bug Bug
Assignee: Andrew Sumner
Components: inedo-buildmaster-plugin
Created: 2019-09-17 00:48
Environment: Jenkins 2.176.3
Inedo Buildmaster plugin 2.5.0
BuildMaster 6.1.10
Priority: Major Major
Reporter: Jon Starbird

After updating to plugin 2.5.0 it fails to create a build in BuildMaster. 

I don't get an error I merely get a msg of:  

[2019-09-16T22:36:13.574Z] [BuildMaster] Create build for the PNM Main and Admin application, release 15.6.0
Conversion = 'F'

 

I was previously on 2.4.0 and after downgrading the plugin it does work again so the plugin update is  the only change.

This is using Jenkinsfile and the request to do create a build is like this:

 buildMasterWithApplicationRelease(applicationId: "${env.BuildMaster_appId}", deployableId: "${env.BuildMaster_deployableId}") { buildMasterWithApplicationRelease(applicationId: "${env.BuildMaster_appId}", deployableId: "${env.BuildMaster_deployableId}") { script { def verstr = gitprops.GitVersion_FullSemVer if (env.BRANCH_NAME == 'master') { verstr = gitprops.GitVersion_MajorMinorPatch } def (reponame,jobname) = JOB_NAME.split('/') def bmjenkinsjobname= "${reponame}/job/${jobname}" BUILDMASTER_PACKAGE_NUMBER = buildMasterCreatePackage(applicationId: BUILDMASTER_APPLICATION_ID, deployToFirstStage: [waitUntilDeploymentCompleted: true,printLogOnFailure: false], packageNumber: BUILDMASTER_PACKAGE_NUMBER, releaseNumber: "${gitprops.GitVersion_MajorMinorPatch}",  packageVariables: [preserveVariables: false,  variables: "JenkinsBuildNumber=$BUILD_NUMBER\nBuildVersion=${verstr}\nJenkinsProject=$bmjenkinsjobname"])  } }

 

 

 

 

 

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

andrew.sumner@xtra.co.nz (JIRA)

unread,
Sep 18, 2019, 6:28:02 AM9/18/19
to jenkinsc...@googlegroups.com
Andrew Sumner commented on Bug JENKINS-59401
 
Re: After Upgrade to Inedo Plugin 2.5.0 could not create package

Odd, should have been a fairly minor change, I did upgrade some dependencies.  Will take me a few days to get to it as my server running BuildMaster has had a melt down 

andrew.sumner@xtra.co.nz (JIRA)

unread,
Dec 24, 2019, 1:38:03 AM12/24/19
to jenkinsc...@googlegroups.com
Andrew Sumner resolved as Fixed
 

This is fixed by release 3.0.0 - unfortunately this is a breaking release. 

I've been doing some work to align the BuildMaster Jenkins Extension and the Jenkins BuildMaster Plugin and took the opportunity to finish of change back from package to build api and rename all parameters and exported variables.

Change By: Andrew Sumner
Status: Open Resolved
Resolution: Fixed

andrew.sumner@xtra.co.nz (JIRA)

unread,
Dec 24, 2019, 1:38:04 AM12/24/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages