Skip to content
Snippets Groups Projects
Commit 9e51060e authored by Raphael Defosseux's avatar Raphael Defosseux
Browse files

CI: fix for development of pipeline

parent 7ea52bca
No related branches found
No related tags found
No related merge requests found
......@@ -159,6 +159,17 @@ pipeline {
myShCmd('mkdir -p archives DS-TEST-RESULTS', new_host_flag, new_host_user, new_host)
}
}
if (scmEvent) {
sh "git clean -x -d -f > /dev/null 2>&1"
sh "zip -r oai-cn5g-fed.zip .git"
sh "mkdir -p archives DS-TEST-RESULTS"
if (new_host_flag) {
// Prepare the workspace in remote server
copyTo2ndServer('oai-cn5g-fed.zip', new_host_flag, new_host_user, new_host)
myShCmd('git clean -x -d -f > /dev/null 2>&1', new_host_flag, new_host_user, new_host)
myShCmd('mkdir -p archives DS-TEST-RESULTS', new_host_flag, new_host_user, new_host)
}
}
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment