jenkins-file #15

Merged
bucky merged 25 commits from jenkins-file into master 2023-10-06 20:49:12 -07:00
2 changed files with 3 additions and 1 deletions
Showing only changes of commit 6160174c5d - Show all commits
Vendored
+1 -1
View File
@@ -5,7 +5,7 @@ pipeline {
stage('Init') {
steps {
sh 'rbenv local 3.2.2'
sh "ruby -rsecurerandom -e \\\'puts SecureRandom.base64(64).inspect()\\\'"
sh 'ruby secret.rb'
//sh 'echo "ENV[\\\"DB_NAME\\\"] ||= \\\"url_shortener.db\\\"" >> .env.rb'
//sh 'cat .env.rb'
}
+2
View File
@@ -0,0 +1,2 @@
require 'securerandom'
puts SecureRandom.base64(64).inspect()