From 95eb1fea4c1de97876883a6dc4428562d09739a6 Mon Sep 17 00:00:00 2001 From: Adam Townsend Date: Fri, 6 Oct 2023 14:01:55 -0700 Subject: [PATCH] trying with different quotes around commands --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 01d1974..9d6587d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,7 +5,7 @@ pipeline { stage('Init') { steps { sh 'rbenv local 3.2.2' - sh 'echo "ENV[\"APP_SESSION_SECRET"] = \"$(openssl rand -base64 64)\"" > .env.rb' + sh `echo 'ENV["APP_SESSION_SECRET"] = "$(openssl rand -base64 64)"' > .env.rb` sh 'echo "ENV[\"DB_NAME\"] ||= \"url_shortener.db\"" >> .env.rb' sh 'cat .env.rb' }