trying again

pull/15/head
Adam Townsend 2023-10-06 16:49:03 -07:00
parent 435eeb9601
commit e1d0c6162d
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -5,8 +5,8 @@ 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[\"DB_NAME\"] ||= \"url_shortener.db\"" >> .env.rb'
sh 'echo \\\'ENV[\\\"APP_SESSION_SECRET\\\"]=$(ruby -rsecurerandom -e \\\"puts SecureRandom.base64(64).inspect\\\")\\\' > .env.rb'
sh 'echo "ENV[\\\"DB_NAME\\\"] ||= \\\"url_shortener.db\\\"" >> .env.rb'
sh 'cat .env.rb'
}
}