---
title: "Discussion on \"This page shows how to use Groovy features in the DSL for advanced scripting.\" | Hashnode"
description: "Discussion on \"This page shows how to use Groovy features in the DSL for advanced scripting.\". Variables\ndef jobName = 'example'\n\njob(jobName) {\n}\n\nLoops\ndef giturl = 'https://github.com/quidryan/aws-sdk-test.git'\nfor(i in 0..10) {\n    job(\"DSL-Tutorial-1-Test-${i}\") {\n        scm {\n            git(giturl)\n        }\n        steps {\n           ..."
url: "https://hashnode.com/posts/this-page-shows-how-to-use-groovy-features-in-the-dsl-for-advanced-scripting/679e5f86fc17195f0b7f746f"
---

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

Discussion

# [This page shows how to use Groovy features in the DSL for advanced scripting.](https://blogs.sretribe.net/this-page-shows-how-to-use-groovy-features-in-the-dsl-for-advanced-scripting?utm_source=hashnode&utm_medium=feed)

Variables def jobName = 'example' job(jobName) { } Loops def giturl = 'https://github.com/quidryan/aws-sdk-test.git' for(i in 0..10) { job("DSL-Tutorial-1-Test-${i}") { scm { git(giturl) } steps { ...

Feb 1, 2025 · 1 min read · blogs.sretribe.net  
Read the article

## Written by

[Fizzy](https://hashnode.com/@fiizzy)

@fiizzy

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
