PipelineScript from SCM is not accepting Parameters as input

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Hi,

      For a Pipeline job, I have a parameter named BRANCH. I am using ${BRANCH} under Branches to build of Pipeline Script from SCM .While executing the job, I am passing my branch name in BRANCH. But Jenkins is not able to use it. I am getting below error.

       > /usr/bin/git config --local --remove-section credential # timeout=10
       > /usr/bin/git rev-parse origin/${BRANCH}^{commit} # timeout=10
       > /usr/bin/git rev-parse ${BRANCH}^{commit} # timeout=10
      ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
      Finished: FAILURE
      

            Assignee:
            huybrechts
            Reporter:
            Anudeep Lalam
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: