title: How to trigger Gitlab CI pipeline manually, when in normal conditions, it is triggered by webhook with commit Ids?
body: <p>I have Gitlab CI pipeline which is triggered by bitbucket webhook with current and last commit ids. I also want to re-run pipeline manually whenever the build created Gitlab CI file, triggered by webhook is not working as expected. 
  I tried RUN-PIPELINE option but shows the error:</p>
  
  <p>The form contains the following error:
  No stages/jobs for this pipeline.<a href="https://i.stack.imgur.com/quIQR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/quIQR.png" alt="enter image description here"></a> </p>
  
  <p>Here is the GitLab CI file. Include refers to other project where standard yaml file for the pipeline is kept:</p>
  
  <pre><code>include:
  - project: Path/to/project
    ref: bb-deployment
    file: /bitbucket-deployment.yaml
  variables:
    TILLER_NAMESPACE: &lt;namespace&gt;
    NAMESPACE: testenv
    REPO_REF: testenvbranch
    LastCommitSHA: &lt;commit sha from webhook&gt;
    CurrentCommitSHA: &lt;Current commit she from webhook&gt;
  
  </code></pre>
  
  <p>Here is the detailed gitlab-ci file that is provided in other project which has stages:</p>
  
  <pre><code>stages:
    - pipeline
    - build
  
  variables:
      ORG: test
      APP_NAME: $CI_PROJECT_NAME
  
  before_script:
    - 'which ssh-agent || ( apt-get update -y &amp;&amp; apt-get install openssh-client -y )'
    - eval $(ssh-agent -s)
    - echo "$SSH_PRIIVATE_KEY2" | tr -d '\r' | ssh-add -
    - mkdir -p ~/.ssh
    - chmod 700 ~/.ssh
    - echo "$SSH_KNOWN_HOSTS" &gt; ~/.ssh/known_hosts
    - chmod 644 ~/.ssh/known_hosts
  
  
  Building CI Script:
    stage: pipeline
    image: python:3.6
    only:
      refs:
        - master
    script:
      - |
        curl https://github.com/org/scripts/branch/install.sh | bash -s latest
        source /usr/local/bin/pipeline-variables.sh
        git clone git@bitbucket.org:$ORG/$APP_NAME.git
        cd $APP_NAME
        git checkout $lastCommit
        cp -r env old
        git checkout $bitbucketCommit
        $CMD_DIFF old env
        $CMD_BUILD
        $CMD_INSTALL updatedReposList.yaml deletedReposList.yaml /tmp/test $NAMESPACE $REPO_REF $ORG $APP_NAME $lastCommit $bitbucketCommit
        cat cicd.yaml
        mv cicd.yaml ..
  
    artifacts:
      paths:
        - cicd.yaml
  
  Deplopying Apps:
    stage: build
    only:
      refs:
        - master
    trigger:
      include:
        artifact: cicd.yaml
        job: Building CI Script
      strategy: depend
  
  </code></pre>
  
  <p>In the manual trigger, instead of considering the last and current commit she, it should rebuild the application.</p>
  
  <p>Any help will be appreciated.</p>