Commit Graph

420 Commits

Author SHA1 Message Date
Roberto Cirillo d9a86cc855 small fix 2022-10-11 08:59:34 +02:00
Roberto Cirillo b135184761 small fix 2022-10-11 08:51:29 +02:00
Roberto Cirillo e7a91134e4 add print 2022-10-10 17:35:58 +02:00
Roberto Cirillo f3b5b8535d fix checkupRelease method 2022-10-10 17:33:35 +02:00
Roberto Cirillo c6ac2ca316 fix collection fields 2022-10-10 17:30:28 +02:00
Roberto Cirillo 9c6e18204f moving jsonConfig decalration outside the if 2022-10-10 17:18:24 +02:00
Roberto Cirillo 74df921160 small fix 2022-10-10 17:15:12 +02:00
Roberto Cirillo dc26e7af97 small fix 2022-10-10 17:13:16 +02:00
Roberto Cirillo 244797a151 add condition in order to avoid job stages when the job is gCubeBuilder
pipeline
2022-10-10 17:10:42 +02:00
Roberto Cirillo 65971dff31 remove assert check on release version 2022-10-10 15:16:24 +02:00
Roberto Cirillo 41962f0541 set verbose default to true 2022-10-10 15:13:00 +02:00
Roberto Cirillo 3683c06a26 add import of org.yaml.snakeyaml.Yaml 2022-10-10 15:08:33 +02:00
Roberto Cirillo 0667282ccd add deploy from release stage 2022-10-10 15:05:37 +02:00
Roberto Cirillo bcff06a388 add RELEASE_URL input parameter 2022-10-10 14:47:21 +02:00
Roberto Cirillo 43a402ab16 variables refactoring; add new methods related to the release deployment
tasks;
2022-10-10 13:31:52 +02:00
Roberto Cirillo d1a687f021 fix parse method 2022-10-06 14:55:26 +02:00
Roberto Cirillo f7262e098b removed wrong print 2022-10-06 14:49:31 +02:00
Roberto Cirillo 89fe9dda2d fix syntax 2022-10-06 14:45:12 +02:00
Roberto Cirillo 62142b5c59 fix parse method 2022-10-06 14:32:33 +02:00
Roberto Cirillo 862fa2e8b0 change method involed 2022-10-06 14:25:22 +02:00
Roberto Cirillo a0b0d90408 fix syntax 2022-10-06 14:16:22 +02:00
Roberto Cirillo 8670b1f15b renamed in IS_SCHEDULED_TEST 2022-10-06 14:07:08 +02:00
Roberto Cirillo dd47ab701d fix equals 2022-10-06 13:58:37 +02:00
Roberto Cirillo 47725a421f fix equals condition 2022-10-06 13:54:44 +02:00
Roberto Cirillo 4d16e4d272 fix syntax 2022-10-06 13:37:18 +02:00
Roberto Cirillo c0ce9ddef3 fix syntax 2022-10-06 13:32:48 +02:00
Roberto Cirillo 4c3029cb0b fix sintax 2022-10-06 12:51:12 +02:00
Roberto Cirillo cf61dba571 fix if 2022-10-06 12:49:33 +02:00
Roberto Cirillo 1e3270999f add conditional the report url discovering step 2022-10-06 12:47:18 +02:00
Roberto Cirillo 2577fa7ac8 add params. to var report_number 2022-10-06 12:37:47 +02:00
Roberto Cirillo 5b34d2b1a8 add env variables for new input params 2022-10-06 11:59:44 +02:00
Roberto Cirillo ddfa536c69 add load build report's content. add input parameters related to the
build report
2022-10-06 09:58:03 +02:00
Roberto Cirillo 47aa7111e2 fix conflicts
Merge branch 'feature/23745'
2022-10-05 10:31:10 +02:00
Roberto Cirillo 724a1b6228 rename var IS_CRON with IS_SCHEDULED 2022-10-05 10:21:20 +02:00
Roberto Cirillo 15b75dea9d extract deployPendingJobs method from DeployFromSystem stage 2022-10-05 09:59:20 +02:00
Roberto Cirillo aeb7c55861 removed IS_CRON_TMP var. Restored the old one IS_CRON 2022-10-04 16:26:49 +02:00
Roberto Cirillo 9a7fd3687e removed unused imports 2022-10-04 16:24:43 +02:00
Roberto Cirillo 15b62f11b0 Merge branch 'feature/23745' 2022-10-04 16:21:46 +02:00
Roberto Cirillo 0735ed9eda clean code 2022-10-04 16:20:42 +02:00
Roberto Cirillo c99b667698 clean unused methods 2022-10-04 16:04:32 +02:00
Roberto Cirillo 4508798749 removed echo 2022-10-04 16:01:00 +02:00
Roberto Cirillo 368b9609a2 fix print 2022-10-04 12:31:28 +02:00
Roberto Cirillo 922ffd83be merge works. add new print 2022-10-04 12:23:08 +02:00
Roberto Cirillo d7bc7469e0 small fix 2022-10-04 12:15:46 +02:00
Roberto Cirillo 092b4213d3 merging deploy files test 2022-10-04 11:49:50 +02:00
Roberto Cirillo 1f93095e75 merging test 2022-10-04 11:42:36 +02:00
Roberto Cirillo 28fa798768 add folder delete 2022-10-04 11:24:18 +02:00
Roberto Cirillo 79abb3f26e small fix 2022-10-04 11:20:07 +02:00
Roberto Cirillo 7f1a2be84e small fix 2022-10-04 11:12:30 +02:00
Roberto Cirillo 350b9ccb8c put remove actions outside the loop 2022-10-04 10:59:41 +02:00
Roberto Cirillo 360a7cf5be fix clean method 2022-10-04 10:48:23 +02:00
Roberto Cirillo 7a361393f1 fix clean method 2022-10-04 10:40:02 +02:00
Roberto Cirillo 3f3e10fa2f fix clean method 2022-10-04 10:23:18 +02:00
Roberto Cirillo 75e36dcd24 fix sintax 2022-10-04 10:15:56 +02:00
Roberto Cirillo 99d8a90706 small change 2022-10-04 10:14:38 +02:00
Roberto Cirillo fa0928823d FIX ISeMPTY CHECK 2022-10-04 10:06:59 +02:00
Roberto Cirillo 51b48579ab fis readCSV method 2022-10-04 09:56:24 +02:00
Roberto Cirillo 5e9c7a1e9f fix findfiles method 2022-10-04 09:46:54 +02:00
Roberto Cirillo 647b4e52ac moving echo print outside the loop 2022-10-03 17:17:38 +02:00
Roberto Cirillo 1245adac9a set deploy-folder with build number 2022-10-03 17:12:19 +02:00
Roberto Cirillo 3b9e5e1826 add loop on deploy folder 2022-10-03 16:38:01 +02:00
Roberto Cirillo f72d3705fb rename var DEPLOY_FILE_ROOT_FOLDER to PENDING_DEPLOY_FOLDER 2022-10-03 10:09:52 +02:00
Roberto Cirillo c9db997000 removed unused methods, clean code 2022-09-30 18:06:24 +02:00
Roberto Cirillo 5debaa7edd add new var CD_ROOT_FOLDER 2022-09-30 17:57:05 +02:00
Roberto Cirillo ed52fdb21e fix sintax 2022-09-30 17:52:42 +02:00
Roberto Cirillo 5c2faa5acd fix sintax 2022-09-30 17:49:06 +02:00
Roberto Cirillo a346ad116a fix sintax 2022-09-30 17:45:53 +02:00
Roberto Cirillo 081b52280e removed component array 2022-09-30 17:42:51 +02:00
Roberto Cirillo 4868c68c96 small fix 2022-09-30 17:30:45 +02:00
Roberto Cirillo b39f166d81 small fix 2022-09-30 17:23:35 +02:00
Roberto Cirillo 6937a900b8 small fix 2022-09-30 17:22:17 +02:00
Roberto Cirillo b30a726d2a small fix 2022-09-30 17:15:45 +02:00
Roberto Cirillo 3cf615d21c small fix 2022-09-30 16:58:14 +02:00
Roberto Cirillo 58fd9640df small fix 2022-09-30 16:56:31 +02:00
Roberto Cirillo ca74aeab83 small fix 2022-09-30 16:43:08 +02:00
Roberto Cirillo 48eacafc67 small fix 2022-09-30 16:37:41 +02:00
Roberto Cirillo 115f6403ba small fix 2022-09-30 16:34:20 +02:00
Roberto Cirillo bc1c7b3191 wrong print 2022-09-30 16:31:48 +02:00
Roberto Cirillo f3133d34f6 wrong print 2022-09-30 16:28:54 +02:00
Roberto Cirillo 9f1ebdbdd2 fill components 2022-09-30 16:27:21 +02:00
Roberto Cirillo 9f8f11018d add print 2022-09-30 15:52:52 +02:00
Roberto Cirillo 8b5d8e9794 add print 2022-09-30 15:49:15 +02:00
Roberto Cirillo 7b0d9123c2 add print 2022-09-30 15:41:49 +02:00
Roberto Cirillo c32ef76a54 readCSV file 2022-09-30 15:35:00 +02:00
Roberto Cirillo ccb34365ca add NonCPS tag to the method 2022-09-30 14:57:58 +02:00
Roberto Cirillo 8842ea81bb changed method version 2022-09-30 09:53:28 +02:00
Roberto Cirillo 3c928cd070 add script function 2022-09-29 17:08:00 +02:00
Roberto Cirillo f48fbfc448 add FilePath import 2022-09-29 15:56:47 +02:00
Roberto Cirillo 3f607a0ac4 replace File with FilePath 2022-09-29 15:53:00 +02:00
Roberto Cirillo 670451a028 find work properly. Going to pass to the original method 2022-09-29 12:51:14 +02:00
Roberto Cirillo 748351d64e fix escape chars on find command 2022-09-29 12:05:09 +02:00
Roberto Cirillo 2ff971b021 fix escape chars on find command 2022-09-29 11:56:26 +02:00
Roberto Cirillo 911b5e837d fix escape chars on find command 2022-09-29 11:51:02 +02:00
Roberto Cirillo 56e53ec4b0 small change 2022-09-29 11:37:32 +02:00
Roberto Cirillo bac26e2f79 fix find command 2022-09-29 11:34:45 +02:00
Roberto Cirillo a4cd1755f9 fix find command 2022-09-28 17:40:31 +02:00
Roberto Cirillo 16bc2ddcb7 fix find command 2022-09-28 17:36:42 +02:00
Roberto Cirillo fcf6854059 use find command 2022-09-28 17:35:10 +02:00
Roberto Cirillo e284591aab fixed mv wildcard 2022-09-28 17:07:45 +02:00
Roberto Cirillo eb1efee889 fixed mv wildcard 2022-09-28 17:07:21 +02:00
Roberto Cirillo 20f82cb657 restored old cron 2022-09-28 17:05:10 +02:00
Roberto Cirillo a55729d32c fix mv 2022-09-28 16:48:33 +02:00
Roberto Cirillo bc8c57ce91 fix mv 2022-09-28 16:20:38 +02:00
Roberto Cirillo a21064c4e2 fix mv 2022-09-28 16:00:22 +02:00
Roberto Cirillo 95b03417bc fix mv 2022-09-28 15:59:30 +02:00
Roberto Cirillo 527822a1f2 fix mv 2022-09-28 15:59:19 +02:00
Roberto Cirillo c70558a11f fix mv 2022-09-28 15:28:47 +02:00
Roberto Cirillo c6d0b9d646 moving the whole folder under workspace 2022-09-28 14:46:13 +02:00
Roberto Cirillo 863fd1c4ec fixed mv command 2022-09-28 14:35:08 +02:00
Roberto Cirillo 9fa9903bf4 change WORKSPACE var sintax 2022-09-28 12:48:41 +02:00
Roberto Cirillo 6040738a12 change WORKSPACE var sintax 2022-09-28 12:40:36 +02:00
Roberto Cirillo 5f7f5d16e9 set cron every 15' 2022-09-28 11:39:53 +02:00
Roberto Cirillo 87cc55ddf8 try to move the content of CD folder inside the ws 2022-09-28 11:36:18 +02:00
Roberto Cirillo fe0f9534aa restored old cron 2022-09-17 12:25:35 +02:00
Roberto Cirillo 578d0d1e84 small test 2022-09-16 16:43:39 +02:00
Roberto Cirillo 8ed1b5b4eb small change 2022-09-16 16:28:44 +02:00
Roberto Cirillo 9dcb9773ca small change 2022-09-16 15:45:32 +02:00
Roberto Cirillo b049457401 small change 2022-09-16 15:32:35 +02:00
Roberto Cirillo a39271efa3 small change 2022-09-16 15:22:52 +02:00
Roberto Cirillo 0c0cb5bda5 small change 2022-09-16 15:10:09 +02:00
Roberto Cirillo f3827aa956 fix method 2022-09-16 14:48:07 +02:00
Roberto Cirillo 90ff91f07e method fixed. switch to previous getComponentsFromCSVDir method version 2022-09-16 14:16:12 +02:00
Roberto Cirillo 816f919a3a remove print for every file in folder 2022-09-16 14:03:06 +02:00
Roberto Cirillo dc9ed3e958 update cron every 30' 2022-09-16 14:01:10 +02:00
Roberto Cirillo 9f7b104220 add @NonCPS to method 2022-09-16 11:36:11 +02:00
Roberto Cirillo 8094698bd1 working on folder method 2022-09-16 10:37:54 +02:00
Roberto Cirillo e4a683cbd6 set cron every 15' 2022-09-16 10:07:20 +02:00
Roberto Cirillo c2c8d56688 working on getComponentsFromCSVDir method 2022-09-16 10:06:53 +02:00
Roberto Cirillo 78a62bc9e3 restored old cron 2022-09-09 17:02:27 +02:00
Roberto Cirillo 815f302d89 add / to the folder path 2022-09-09 14:46:50 +02:00
Roberto Cirillo eec8436621 new test method for parsing the file 2022-09-09 14:35:25 +02:00
Roberto Cirillo 6ea001f0f6 add import FileType.FILES 2022-09-09 12:35:22 +02:00
Roberto Cirillo 0ba5b543fa small change: add new log 2022-09-09 11:49:36 +02:00
Roberto Cirillo 51746ad51a fix println sintax; restored cron every 15' 2022-09-09 11:24:19 +02:00
Roberto Cirillo 3ab0b4bf24 restored old cron 2022-09-08 17:32:18 +02:00
Roberto Cirillo 478a55e741 set cron every 15' 2022-09-08 14:56:14 +02:00
Roberto Cirillo c87343479e add empty folder check 2022-09-08 14:40:49 +02:00
Roberto Cirillo fda6187b4c restored checkup and deploy methods in the same catch 2022-09-08 12:22:39 +02:00
Roberto Cirillo e075a3d92b set agent label to ansible 2022-09-08 12:07:26 +02:00
Roberto Cirillo cc890e4b8b set build to SUCCESS and stage to FAILURE if the version doesn't contain
SNAPSHOT, in deploy from upstream case; remove SNAPSHOT check on deploy
manually stage
2022-09-08 10:28:09 +02:00
Roberto Cirillo 9ac38b137e change var IS_CRON to IS_CRON_TMP temporarily 2022-08-30 15:03:35 +02:00
Roberto Cirillo 58660da462 change cronjob 2022-08-29 09:52:04 +02:00
Roberto Cirillo 15b19c4cd3 remove file deletion 2022-08-04 17:50:01 +02:00
Roberto Cirillo 6f27e27274 remove file.getAbsolutePath method 2022-08-04 17:22:09 +02:00
Roberto Cirillo dfc6899bd6 add some logs 2022-08-04 17:11:18 +02:00
Roberto Cirillo ccae2577cb add some logs 2022-08-04 17:02:22 +02:00
Roberto Cirillo 63cf98a6f0 change var name components 2022-08-04 16:31:43 +02:00
Roberto Cirillo f3efd14a02 set cron every 15, just for test 2022-08-04 16:30:10 +02:00
Roberto Cirillo f0383b7fa6 processing deploy files: convert list to set 2022-08-04 16:18:28 +02:00
Roberto Cirillo 879193b653 fix DEPLOY_FILE_ROOT_FOLDER variable 2022-08-04 15:54:27 +02:00