diff --git a/Jenkinsfile b/Jenkinsfile index 223419b..7633c6c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -68,7 +68,7 @@ pipeline { export API_WP_PORT=5001 export CONNECTION_DB=mongodb://localhost:27017/waterpoints export HOST=0.0.0.0 - export API_KEY=$(cat /var/www/key.txt) + export API_KEY=\$(cat /var/www/key.txt) nohup python3 wpapi.py > log.txt 2>&1 & """ }