From 3fd8e8c6308ffd3328295b89c7d4946cc7f33400 Mon Sep 17 00:00:00 2001 From: Adam Townsend Date: Sun, 22 Oct 2023 15:00:59 -0700 Subject: [PATCH] wrap the string in single quotes --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 62e0e4f..53889bd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,7 +10,7 @@ pipeline { sh ''' #!/usr/local/bin/bash rbenv local 3.2.2 echo "# frozen_string_literal: true\n" > .env.rb - echo "ENV['APP_SESSION_SECRET'] ||= $(ruby -rsecurerandom -e 'puts SecureRandom.base64(64)')" >> .env.rb + echo "ENV['APP_SESSION_SECRET'] ||= '$(ruby -rsecurerandom -e 'puts SecureRandom.base64(64)')'" >> .env.rb echo "ENV['DB_NAME'] ||= '${DB_NAME}'" >> .env.rb cat .env.rb '''