title: Promoting a specific Build in Artifactory to a different repository
body: <p>Can I get some help on promoting a build using REST API with cURL command.
  I have been successful in updating the status using the below syntax:</p>
  
  <pre><code>curl -X POST -u admin:password -H "Content-Type: application/json" -d '{"status":"tests passed","ciUser":"jenkinsAdmin"}' "http://localhost:8081/artifactory/api/build/promote/buildName/buildNumber"
  </code></pre>
  
  <p>But, unable to move the build from one repository to another. My aim to, promote the build from one repository to another when I run the cURL command with parameters. So that my build is moved to other repository and the status gets updated too.</p>
  
  <p>I also get the below message when I run the curl command:</p>
  
  <pre><code>{"level":"INFO","message":"Skipping build item relocation: no target repository selected."}
  </code></pre>
  
  <p>This post relates to the question about <a href="https://stackoverflow.com/questions/16097401/how-to-change-an-existing-build-status-in-artifactory-from-a-jenkins-job">changing existing build status in artifactory</a></p>
  
  <p>Please Advice. </p>