trying with different quotes around commands

pull/15/head
Adam Townsend 2023-10-06 14:01:55 -07:00
parent 03eafcdf4c
commit 95eb1fea4c
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -5,7 +5,7 @@ pipeline {
stage('Init') { stage('Init') {
steps { steps {
sh 'rbenv local 3.2.2' 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 'echo "ENV[\"DB_NAME\"] ||= \"url_shortener.db\"" >> .env.rb'
sh 'cat .env.rb' sh 'cat .env.rb'
} }