trying to run the script, nothing else
parent
ef9cef8915
commit
3a71e58e22
|
|
@ -5,10 +5,8 @@ pipeline {
|
|||
stage('Init') {
|
||||
steps {
|
||||
sh 'rbenv local 3.2.2'
|
||||
script {
|
||||
APP_SECRET = sh (script: 'ruby -rsecurerandom -e "puts SecureRandom.base64(64).inspect"', returnStdout: true).trim()
|
||||
}
|
||||
sh 'echo ${APP_SECRET}'
|
||||
sh (script: 'ruby -rsecurerandom -e "puts SecureRandom.base64(64).inspect"', returnStdout: true).trim()
|
||||
//sh 'echo ${APP_SECRET}'
|
||||
//sh 'echo "ENV[\\\"DB_NAME\\\"] ||= \\\"url_shortener.db\\\"" >> .env.rb'
|
||||
//sh 'cat .env.rb'
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue