Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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

    Scheduled Pinned Locked Moved Support
    jenkinsbuildmaster
    5 Posts 2 Posters 18 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      jstarbird_7831
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        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
        
        1 Reply Last reply Reply Quote 0
        • J Offline
          jstarbird_7831
          last edited by

          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

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • J Offline
              jstarbird_7831
              last edited by

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

              Thanks,
              Jon

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • First post
                Last post
              Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation