Hi all, I am working Branch Source part of GitLab Plugin. There are a different bugs that needs attention but for now, the basic branch indexing and branch building for Multibranch Pipeline Jobs works just fine.
I want to test the pipeline jobs with `mvn hpi:run`. But when a branch is getting built I get an error: Branch indexing Querying the current revision of branch master... Current revision of branch master is fb65543c24719f77167dcb3967423f349094b4d3 Obtained Jenkinsfile from fb65543c24719f77167dcb3967423f349094b4d3 Running in Durability level: MAX_SURVIVABILITY [Pipeline] End of Pipeline java.lang.NoSuchMethodError: No such DSL method 'pipeline' found among steps [archive, build, catchError, checkout, deleteDir, dir, echo, error, fileExists, getContext, git, isUnix, load, mail, parallel, properties, pwd, readFile, readTrusted, resolveScm, retry, sleep, stash, step, timeout, tool, unarchive, unstash, waitUntil, withContext, withEnv, wrap, writeFile] or symbols [all, always, apiToken, architecture, archiveArtifacts, artifactManager, batchFile, booleanP ..... The logger also doesn't log `[Pipeline] Start of Pipeline`(Idk what that means). When I install the same plugin in `Jenkins docker with the recommended plugins installed`, the pipeline job is performed successfully. I am not quite sure but I think `pipeline jobs` don't work with `hpi:run` as there is/are some missing dependencies. Here is the pom of my plugin https://github.com/baymac/gitlab-branch-source-plugin/blob/feature/branch-source/pom.xml . Kindly let me know what I am missing something. If this is something other than just missing dependency then can someone with branch source plugins experience have a look at the pr and suggest changes: https://github.com/baymac/gitlab-branch-source-plugin/pull/20. We can also have further discussions in JIRA https://issues.jenkins-ci.org/browse/JENKINS-58268. Thank you. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/7962e605-16d0-40b6-a7fb-a4bb67b2fbe0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
