fix sintax

This commit is contained in:
Roberto Cirillo 2022-05-09 16:36:44 +02:00
parent 92833db6e4
commit 5cccfc8e3a
1 changed files with 1 additions and 6 deletions

7
Jenkinsfile vendored
View File

@ -213,12 +213,7 @@ def appendFooter( def File) {
def deploy(String service, String version, String host){
def now = new Date();
println("Going to deploy the service "+service+" with version: "+version+" on target: "+host);
def statusCode = sh( script: "cd /var/lib/jenkins/ansible-repos/ansible-playbooks/d4science-ghn-cluster/;
git pull;
cd CD;
echo '\\033[34mStarting\\033[0m \\033[33mAnsible\\033[0m \\033[35mWorld\\033[0m'
./deployService.sh $service $version $host
", returnStdout: true);
def statusCode = sh( script: "cd /var/lib/jenkins/ansible-repos/ansible-playbooks/d4science-ghn-cluster/;git pull;cd CD;echo '\\033[34mStarting\\033[0m \\033[33mAnsible\\033[0m \\033[35mWorld\\033[0m';./deployService.sh $service $version $host", returnStdout: true);
}
def checkup(String service, String version, String host){