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

After Upgrade to Inedo Plugin 2.5.0 could not create package

XMLWordPrintable

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

       

       

       

       

       

       

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

              Created:
              Updated:
              Resolved: