From 3e561bbf2e54226c9afd69e9181670a4f6e105fd Mon Sep 17 00:00:00 2001 From: Nana Janashia Date: Sat, 3 Apr 2021 18:41:58 +0200 Subject: [PATCH] Add commands --- Jenkinsfile-v1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Jenkinsfile-v1 b/Jenkinsfile-v1 index 64a3407..cecca85 100644 --- a/Jenkinsfile-v1 +++ b/Jenkinsfile-v1 @@ -35,6 +35,9 @@ pipeline { remote.user = user sshCommand remote: remote, command: "ls -l" + sshCommand remote: remote, command: "apt update" + sshCommand remote: remote, command: "apt install ansible -y" + sshCommand remote: remote, command: "apt install python3-pip -y" sshCommand remote: remote, command: "pip3 install boto3 botocore" sshCommand remote: remote, command: "ansible-playbook docker-and-compose.yaml" }