Commit 4c0ea1fa authored by Anastasios Kalogeropoulos's avatar Anastasios Kalogeropoulos
Browse files

config filename changed in jenkins

parent d159f694
......@@ -3,14 +3,14 @@ pipeline {
stages {
stage('read param') {
steps {
sh 'rm -f src/config.sender'
sh 'touch src/config.sender'
sh "echo \"export default {\n\" >> src/config.sender"
sh 'echo \"senderId: \"${senderId}\",\n\" >> src/config.sender'
sh 'echo \"clientId: \"${clientId}\",\n\" >> src/config.sender'
sh 'echo \"clientSecret: \"${clientSecret}\",\n\" >> src/config.sender'
sh 'echo \"scope: \"${scope}\",\n\" >> src/config.sender'
sh 'echo \"};\" >> src/config.sender'
sh 'rm -f src/config.js'
sh 'touch src/config.js'
sh "echo \"export default {\n\" >> src/config.js"
sh 'echo \"senderId: \"${senderId}\",\n\" >> src/config.js'
sh 'echo \"clientId: \"${clientId}\",\n\" >> src/config.js'
sh 'echo \"clientSecret: \"${clientSecret}\",\n\" >> src/config.js'
sh 'echo \"scope: \"${scope}\",\n\" >> src/config.js'
sh 'echo \"};\" >> src/config.js'
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment