---
title: "Discussion on \"GitLab CICD - How to create a re-usable function with arguments\" | Hashnode"
description: "Discussion on \"GitLab CICD - How to create a re-usable function with arguments\". My take on how to create a re-usable function (of sorts) in CICD pipeline.\nProblem Statement\n\nHad to create multiple Docker images with respective Dockerfile's and in parallel\n\nThe original code design was to create multiple jobs with a basic depende..."
url: "https://hashnode.com/posts/gitlab-cicd-how-to-create-a-re-usable-function-with-arguments/65c523849966412aad9be2d5"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [GitLab CICD - How to create a re-usable function with arguments](https://jagadishprasad.hashnode.dev/gitlab-cicd-how-to-create-a-re-usable-function-with-arguments?utm_source=hashnode&utm_medium=feed)

My take on how to create a re-usable function (of sorts) in CICD pipeline. Problem Statement Had to create multiple Docker images with respective Dockerfile's and in parallel The original code design was to create multiple jobs with a basic depende...

Feb 8, 2024 · 2 min read · jagadishprasad.hashnode.dev  
Read the article

-   [#gitlab](https://hashnode.com/tag/gitlab)
-   [#gitlab-ci](https://hashnode.com/tag/gitlab-ci)

## Written by

[Jagadish Prasad Sanaka](https://hashnode.com/@jagadishprasad)

@jagadishprasad · Bangalore, India

  
[View profile](https://hashnode.com/@jagadishprasad)

Always keeps learning something new.

Solution Architect, DevOps, Cloud Architecture Enthusiast &amp; Learning Systems Design

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
