---
title: "Discussion on \"Advanced Jenkins\" | Hashnode"
description: "Discussion on \"Advanced Jenkins\". If I have a env variable. can I access it inside script block of stage and also inside sh block of script block of stage some me with examples\nYes, in a Jenkins pipeline, you can access environment variables inside a script block as well as inside an..."
url: "https://hashnode.com/posts/advanced-jenkins/6526f38573e1a7053e87dcef"
---

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

Discussion

# [Advanced Jenkins](https://bhuvanchand.hashnode.dev/advanced-jenkins?utm_source=hashnode&utm_medium=feed)

If I have a env variable. can I access it inside script block of stage and also inside sh block of script block of stage some me with examples Yes, in a Jenkins pipeline, you can access environment variables inside a script block as well as inside an...

Oct 11, 2023 · 5 min read · bhuvanchand.hashnode.dev  
Read the article

-   [#advanced-jenkins](https://hashnode.com/tag/advanced-jenkins)

## Written by

[bhuvanchand maddi](https://hashnode.com/@BhuvanChand)

@BhuvanChand

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

Enabling Seamless DevOps Transformation for Continuous Innovation

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
