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

create config file from params added

parent e9bcd3d2
pipeline {
agent any
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'
}
}
stage('install-dependencies') {
steps {
sh 'npm install'
......@@ -11,6 +24,5 @@ pipeline {
sh 'npm run build'
}
}
}
}
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