Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-59401

After Upgrade to Inedo Plugin 2.5.0 could not create package

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • Jenkins 2.176.3
      Inedo Buildmaster plugin 2.5.0
      BuildMaster 6.1.10

      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"])  } }
      

       

       

       

       

       

       

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

          Andrew Sumner added a comment -

          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 added a comment - 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 added a comment -

          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.

          Andrew Sumner added a comment - 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.

            andrewsumner Andrew Sumner
            jstarbird Jon Starbird
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: