Commit 3553fba9 authored by joonas lume's avatar joonas lume
Browse files

Replase ELK_HOST with NODE variable

parent 03a95f52
......@@ -123,8 +123,8 @@ pipeline {
sudo bash ./postinst.sh
sudo systemctl start elasticsearch
'''
sh "$RSYNC -av elasticsearch/deb/confd riajenk@$ELK_HOST:/tmp/"
sh "$RSYNC -av elasticsearch/deb/postinst.sh riajenk@$ELK_HOST:/tmp/"
sh "$RSYNC -av elasticsearch/deb/confd riajenk@$NODE:/tmp/"
sh "$RSYNC -av elasticsearch/deb/postinst.sh riajenk@$NODE:/tmp/"
sh "$SSH riajenk@${NODE} '$ssh_start_es'"
}
}
......
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