Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Jenkins plugin launching BuildMaster specific jobs



  • Using the Jenkins BuildMaster plugin I know I can launch a BuildMaster job but what it doesn't seem to be capable of is specifying which stage of the pipeline you want to execute.
    If I have a Jenkins job builds the app, then I want it to have BuildMaster import the files, then setup an Integration test area, then go back to Jenkins to run the integration tests, then assuming success have BuildMaster execute the next step by calling it again, will that work? It seems that the BuildMaster plugin only supports just doing the "Create Package" call so if I call it again will just re-import the files again rather than do the next stage?
    I know I can put the Execute Next Stage flag on in BuildMaster but I don't want it to do that in place of calling it the second time.

    Thanks.

    Product: BuildMaster
    Version: 5.3.7



  • The Jenkins Plug-in, as you've noticed, does not support this. We will be publishing a new API Endpoint soon that will make it really easy to create/deploy releases and release-packages.

    For example..

    POST /api/releases/create
    apiKey=abc123
    applicationName=Myapp
    releaseNumber=3.2.1
    $myVariable=something    
    
    POST /api/releases/packages/create
    apiKey=abc123
    applicationName=Myapp
    releaseNumber=3.2.1
    $somePackage=somethingElse
    
    POST /api/releases/packages/deploy
    apiKey=abc123
    packageId=2235
    toStage=Integration


  • I realize the API can do it but since there is a plugin for Jenkins and this seems like a very useful option could we add a feature request for that?

    What is the eta on the API update?

    Thanks,
    Jon



  • Sure, we don't maintain that Jenkins plug-in, but we'll definitely ask the fella that does!

    The API will ship as a preview in 5.4.2, targeted for next week some time.



  • Oh ok, I thought it was done by you. I'll pester him about that then.
    Sorry about that.

    Thanks,
    Jon



Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation