# Use Just Enough Pipeline

**URL:** <https://community.jenkins.io/t/use-just-enough-pipeline/658>\
**Category:** Blog & News\
**Created:** [October 26, 2021, 4:34pm UTC](https://community.jenkins.io/t/use-just-enough-pipeline/658 "2021-10-26T16:34:45Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/system/32/4910_2.png) [@system](https://community.jenkins.io/u/system)\
**Post date:** [October 26, 2021, 4:34pm UTC](https://community.jenkins.io/t/use-just-enough-pipeline/658/1 "2021-10-26T16:34:45Z")

</div>

Jenkins Pipeline (or simply Pipeline with a capital P) is a suite of plugins that supports implementing and integrating continuous delivery pipelines into Jenkins. This allows you to automate the process of getting software from version control through to your users and customers.

* * *
This is a companion discussion topic for the original entry at [https://www.jenkins.io/blog/2021/10/26/just-enough-pipeline/](https://www.jenkins.io/blog/2021/10/26/just-enough-pipeline/)

---

<div class="post-metadata">

**Author:** ![ssc327](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@ssc327](https://community.jenkins.io/u/ssc327)\
**Post date:** [November 8, 2021, 9:14pm UTC](https://community.jenkins.io/t/use-just-enough-pipeline/658/2 "2021-11-08T21:14:33Z")

</div>

As I understand it, Pipeline is meant to handle choreography between different steps that should be run on agents via things like sh or bat. That makes sense but what if we prefer to use something different than bash or powershell. Is it ok to use something like groovy or python to perform our business logic and to call out to it using something like sh or bat?

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/system/32/4910_2.png) [@system](https://community.jenkins.io/u/system)\
**Post date:** [November 8, 2021, 9:14pm UTC](https://community.jenkins.io/t/use-just-enough-pipeline/658/3 "2021-11-08T21:14:33Z")

</div>



---

<div class="post-metadata">

**Author:** ![timja](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/timja/32/7_2.png) [@timja](https://community.jenkins.io/u/timja)\
**Post date:** [November 8, 2021, 9:57pm UTC](https://community.jenkins.io/t/use-just-enough-pipeline/658/4 "2021-11-08T21:57:00Z")

</div>

Absolutely, go for it

---

<div class="post-metadata">

**Author:** ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)\
**Post date:** [November 8, 2021, 10:14pm UTC](https://community.jenkins.io/t/use-just-enough-pipeline/658/5 "2021-11-08T22:14:21Z")

</div>

Encouraged even. Having scripts that can be run locally improves debugging. You can test things without going through the commit and build cycle

---

<div class="post-metadata">

**Author:** ![shadycuz](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/shadycuz/32/196_2.png) [@shadycuz](https://community.jenkins.io/u/shadycuz)\
**Post date:** [November 9, 2021, 6:25pm UTC](https://community.jenkins.io/t/use-just-enough-pipeline/658/6 "2021-11-09T18:25:00Z")

</div>

Shameless plug for my shared library [https://github.com/DontShaveTheYak/jenkins-std-lib](https://github.com/DontShaveTheYak/jenkins-std-lib)

I do lots of groovy in my pipeline and have some tooling that can be really helpful.

---

<div class="post-metadata">

**Author:** ![ssc327](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@ssc327](https://community.jenkins.io/u/ssc327)\
**Post date:** [November 11, 2021, 7:28pm UTC](https://community.jenkins.io/t/use-just-enough-pipeline/658/7 "2021-11-11T19:28:51Z")

</div>

Do you have examples for how you call out to your lib?

---

<div class="post-metadata">

**Author:** ![ssc327](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@ssc327](https://community.jenkins.io/u/ssc327)\
**Post date:** [November 11, 2021, 7:30pm UTC](https://community.jenkins.io/t/use-just-enough-pipeline/658/8 "2021-11-11T19:30:37Z")

</div>

Is it better to sh to a python/groovy script or are there plugins that have steps accepting scripts.

For example something like:

```auto
python abc.py some-input-param

```

---

<div class="post-metadata">

**Author:** ![shadycuz](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/shadycuz/32/196_2.png) [@shadycuz](https://community.jenkins.io/u/shadycuz)\
**Post date:** [November 11, 2021, 7:57pm UTC](https://community.jenkins.io/t/use-just-enough-pipeline/658/9 "2021-11-11T19:57:42Z")

</div>

The README covers how to install it on your Jenkins and has a link to example jobs.
