Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-61312

Unable to seed a pipeline job which has the BbS SCM step

XMLWordPrintable

      Unable to Seed a pipeline job when replacing the git scm definition step with Bbs (as attached) and receive the following error 

      When editing the job using the Jenkins UI and updating the all the appropriat fields, everything works perfectly. Just that the seed-job fails to read the groovy file to create a job. 

      Attached is my groovy code for the SCM step.

      Could you please advice if this is an issue with the dsl-plugin or with the Bitbucket-Server-Integration Plugin ?

      Build Error: [hudson.AbortException: (job.groovy, line 50) No signature of method: javaposse.jobdsl.dsl.helpers.ScmContext.Bbs() is applicable for argument types: (<git-folder>$_run_closure1$_closure4$_closure6$_closure7$_closure8) values: [<git-folder>$_run_closure1$_closure4$_closure6$_closure7$_closure8@71df7e4c] Possible solutions: is(java.lang.Object), any(), git(groovy.lang.Closure), git(java.lang.String), hg(java.lang.String), rtc(groovy.lang.Closure)]
      
      

            Unassigned Unassigned
            jpara29 PJ
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: