aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Nanis2026-09-14 14:49:54 -0700
committerMax Nanis2026-09-14 14:49:54 -0700
commitd6137a3ab6c584422d1c1e6880fd02c29df0a77b (patch)
tree7d379645c2d45cc1f4e7422e12aea5d6d5a9afa3
parent0c3d211bdac717903141ec2f2be7489dd4c04963 (diff)
downloadamt-jb-d6137a3ab6c584422d1c1e6880fd02c29df0a77b.tar.gz
amt-jb-d6137a3ab6c584422d1c1e6880fd02c29df0a77b.zip
def vars aren't available out of script block scope.
-rw-r--r--jb-ui/Jenkinsfile4
1 files changed, 0 insertions, 4 deletions
diff --git a/jb-ui/Jenkinsfile b/jb-ui/Jenkinsfile
index a73ad59..a4809d4 100644
--- a/jb-ui/Jenkinsfile
+++ b/jb-ui/Jenkinsfile
@@ -64,11 +64,7 @@ pipeline {
script {
def props = readJSON file: 'dist/.vite/manifest.json'
def jsFile = props["src/main.tsx"]["file"]
- def cssFile = props["style.css"]["file"]
- }
- // echo "Deploying to ${envType} (v${version})"
- script {
dir(env.BUILD_DIR) {
def minSize = 750 * 1024
def size = sh(script: "stat -c%s ${jsFile}", returnStdout: true).trim().toInteger()