Skip to content
Snippets Groups Projects
Commit d82908a2 authored by Lukas Köhler's avatar Lukas Köhler
Browse files

pipeline testing

parent 657cde97
No related branches found
No related tags found
No related merge requests found
......@@ -4,8 +4,13 @@ node {
'''
chmod -Rf 777 ./
rm -rf *
ls -la
cp -r "\$(find \$folder -maxdepth 1 -type d -not -path \$folder/__pycache__ -not -path \$folder)"/* ./
echo $folder
export TARGET=\$(find \$folder -maxdepth 1 -type d -not -path \$folder/__pycache__ -not -path \$folder)
echo $TARGET
if [ -z "$TARGET" ]; then
exit 1
fi
cp -r $TARGET/* ./
rm -rf \$folder
'''
)
......
......@@ -4,8 +4,13 @@ node {
'''
chmod -Rf 777 ./
rm -rf *
ls -la
cp -r "\$(find \$folder -maxdepth 1 -type d -not -path \$folder/__pycache__ -not -path \$folder)"/* ./
echo $folder
export TARGET=\$(find \$folder -maxdepth 1 -type d -not -path \$folder/__pycache__ -not -path \$folder)
echo $TARGET
if [ -z "$TARGET" ]; then
exit 1
fi
cp -r $TARGET/* ./
rm -rf \$folder
'''
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment