Commit d159f694 authored by Anastasios Kalogeropoulos's avatar Anastasios Kalogeropoulos
Browse files

path to config file changed

parent b132cdba
......@@ -3,14 +3,14 @@ pipeline {
stages {
stage('read param') {
steps {
sh 'rm -f config.sender'
sh 'touch config.sender'
sh "echo \"export default {\n\" >> config.sender"
sh 'echo \"senderId: \"${senderId}\",\n\" >> config.sender'
sh 'echo \"clientId: \"${clientId}\",\n\" >> config.sender'
sh 'echo \"clientSecret: \"${clientSecret}\",\n\" >> config.sender'
sh 'echo \"scope: \"${scope}\",\n\" >> config.sender'
sh 'echo \"};\" >> config.sender'
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'
}
}
......
Markdown is supported
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