API

Forum for technical discussions on usage of the Cruise API

This is a public Discussion Area  publicRSS

Welcome Guest

Log in if you have an account.

Otherwise, register for an account.

For more details, please visit the How This Site Works page.

Forums

API Recent Posts

  • Jebastine Vetharaj
    How to pass username and password to GO API?5
    Post last edited April 10, 2012 by Jebastine Vetharaj

    I am trying to list the properties of a pipeline through API using th below example

    http://[server]:8153/go/properties/[pipeline]/[pipelinecounter]/[stage]/[stagecounter]/[job]

    I would like to know how can I pass the username and password?

    I am using Advanced REST client for Chrome and I am not using CURL

    Recent Comments (3 of 5)

  • Jebastine Vetharaj
    Is it possible to update pipeline parameter value through...1
    Post posted April 4, 2012 by Jebastine Vetharaj

    I would like to update the value of the pipeline parameter through API.

    Recent Comments (1 of 1)

  • Bluephlame
    Pipeline dependancies from API2
    Post last edited February 9, 2012 by Bluephlame
     I am interested in looking at Pipline dependancies to create an overal view of the system to use on a status board. I can't see in the API where the pipeline upstream and downstream dependencies are, do thes exist or will have to adjust these manually. Thanks

    Recent Comments (2 of 2)

  • Francis Roch
    RESTful stage promotion1
    Post last edited February 9, 2012 by Francis Roch

    Hello,

    Through the Go REST API, is it possible to promote a specific build to a stage defined as 'manual' ?

    For example, if i were to programmatically trigger a pipeline thus :

    curl -u ${user}:${pass} -d "" http://${go_url}:${go_port}/go/run/${pipeline_name}

    it would execute all stages defined as 'success' (providing they're all successful) and halt before the first 'manual' stage.

    How can one programmatically promote the build in question to the following stage?

    Thanks for your insight.

    FR.

    Recent Comments (1 of 1)

  • jgostylo
    Robust Pipeline Creation
    Post posted October 26, 2010 by jgostylo

    Based on the documentation I have, there is not much you can do to automate your pipeline creation.  I am hoping the documentation isn't including a lot of the functionality.

    In particular, I am hoping that I can iterate through pipelines in a group to duplicate and create new pipelines in a new group (for a branch) that include the following:

    labeltemplates
    pipeline templates
    pipelines as materials

    The documentation does show how you can create the new pipeline group and also how to add the SCM material but according to the documentation that is all you can do.

    I saw that someone created a python script by reverse engineering your UI to do some of what I am talking about, but that was over a year ago and I wanted a Thoughtworks supported method so I don't have to chase my tail every time something changes.

    Also, if there was a part of the API that gathers the information from existing pipelines/groups so the branch pipelines can be made from those that would be helpful.

    Jake

Recent Comments

Recent Participants

  • Scott
  • Morag Keirns
  • srinivasa
  • Kurt
  • Ben Butler-Cole
  • Mike
  • Melissa Doerken
  • Ron
  • LeeBenhart
  • Adrian S.
  • Lisa
  • goley
  • sdqali
  • Suzie Prince
  • Anshika
  • sweety rai
  • Huimin Li
  • Adam Monago
  • Santosh
  • azuniga

Search this Forums

Keyword Search

Filter Posts with Tags