# Use jenkins-test-harness to implement ITs on Shared Library

**URL:** <https://community.jenkins.io/t/use-jenkins-test-harness-to-implement-its-on-shared-library/22656>\
**Category:** Ask a question\
**Tags:** maven\
**Created:** [October 30, 2024, 1:56pm UTC](https://community.jenkins.io/t/use-jenkins-test-harness-to-implement-its-on-shared-library/22656 "2024-10-30T13:56:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![c3p0-maif](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/c3p0-maif/32/5473_2.png) [@c3p0-maif](https://community.jenkins.io/u/c3p0-maif)\
**Post date:** [October 30, 2024, 1:56pm UTC](https://community.jenkins.io/t/use-jenkins-test-harness-to-implement-its-on-shared-library/22656/1 "2024-10-30T13:56:23Z")

</div>

Hi,

I develop since few years a shared library and I would like to implement some IT with jenkins-test-harness.  
I followed some tutorials I found on internet but nothing is working.

When my test is running all jenkins terms are unknown (pipeline, scm, …)

> groovy.lang.MissingMethodException: No signature of method: foo.pipeline() is applicable for argument types: (foo$\_call\_closure1) values: [foo$\_call\_closure1@384408e2]

> groovy.lang.MissingPropertyException: No such property: scm for class: myPipeline

I think I am missing some dependencies in the maven pom.xml but I have no idea.

I have created a minimal project which produce my problem, if someone can give my an help :

> **[GitHub - c3p0-maif/sample-pipeline-library](https://github.com/c3p0-maif/sample-pipeline-library)**
>
> Contribute to c3p0-maif/sample-pipeline-library development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![c3p0-maif](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/c3p0-maif/32/5473_2.png) [@c3p0-maif](https://community.jenkins.io/u/c3p0-maif)\
**Post date:** [November 8, 2024, 3:02pm UTC](https://community.jenkins.io/t/use-jenkins-test-harness-to-implement-its-on-shared-library/22656/2 "2024-11-08T15:02:56Z")

</div>

Any doc, sample, help ? ☹
