going back to the old style

pull/15/head
Adam Townsend 2023-10-06 17:39:45 -07:00
parent 3a71e58e22
commit a4fbdeabe3
1 changed files with 1 additions and 2 deletions

3
Jenkinsfile vendored
View File

@ -5,8 +5,7 @@ pipeline {
stage('Init') { stage('Init') {
steps { steps {
sh 'rbenv local 3.2.2' sh 'rbenv local 3.2.2'
sh (script: 'ruby -rsecurerandom -e "puts SecureRandom.base64(64).inspect"', returnStdout: true).trim() sh 'echo $(ruby -rsecurerandom -e \\\"puts SecureRandom.base64(64).inspect\\\")'
//sh 'echo ${APP_SECRET}'
//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'
} }