Closed Sispheor closed 7 years ago
My task create a folder with the date of the day.
Here is a script example I have:
set -e -x echo "Create folder" today_folder="built-rpms/`date '+%Y-%m-%d_%H:%M:%S'`" mkdir ${today_folder} echo "Create a file" touch ${today_folder}/built_test.txt
And my pipline:
- put: rsync-server params: sync_dir : "built-rpms"
On the remote server this is what I have
tree /rsync/ ├── 684873f5d963255108e94e1990364cee │ └── 2017-08-10_13:56:05 │ └── built_test.txt
We can see that a folder name has been generated (684873f5d963255108e94e1990364cee)
I would like to remove this folder level to have
tree /rsync/ │ └── 2017-08-10_13:56:05 │ └── built_test.txt
I didn't see the disable_version_path option. PEBKAC issue! Sorry ! :)
disable_version_path
My task create a folder with the date of the day.
Here is a script example I have:
And my pipline:
On the remote server this is what I have
We can see that a folder name has been generated (684873f5d963255108e94e1990364cee)
I would like to remove this folder level to have