Commit Graph

215 Commits

Author SHA1 Message Date
Manuele Simi 68826de759 Calculate previous job number. 2019-12-09 16:50:50 -05:00
Manuele Simi 517153a3ae Parse job report before the pipeline execution. 2019-12-09 16:35:11 -05:00
Manuele Simi f2298fff63 Remove stage block. 2019-12-09 16:13:36 -05:00
Manuele Simi 9ec18e4bf2 Remove script block. 2019-12-09 16:02:48 -05:00
Manuele Simi ed4b6bcef0 Wrap code into a stage block. 2019-12-09 16:00:42 -05:00
Manuele Simi 54b0bb03de Manage job report for maven-parent. 2019-12-09 15:49:33 -05:00
Manuele Simi 1de672a7c5 Restore initialize stage. 2019-12-09 15:42:24 -05:00
Manuele Simi 315626848f Fix resume syntax. 2019-12-09 15:31:21 -05:00
Manuele Simi c97451b1a6 Restore resume parameter. 2019-12-09 15:23:03 -05:00
Manuele Simi f19fb497fb Restore jenkins file. 2019-12-09 15:17:37 -05:00
Manuele Simi c5216cebda Fix the env variables. 2019-12-08 23:21:40 -05:00
Manuele Simi e8a0a4d362 Remove code to isolate errors. 2019-12-08 23:14:01 -05:00
Manuele Simi a6b6c8c7f4 Adjust job report path. 2019-12-08 23:10:36 -05:00
Manuele Simi e0c766111b Comment echo commands. 2019-12-08 23:01:54 -05:00
Manuele Simi b98633f9bb Fix syntax. 2019-12-08 16:12:11 -05:00
Manuele Simi 08e55f99b1 Wrap maven-parent in a script block. 2019-12-08 16:07:06 -05:00
Manuele Simi fe1719cce5 Add resume also for maven-parent. 2019-12-08 15:59:50 -05:00
Manuele Simi 05df0c77f3 Propagate resume option. 2019-12-08 15:55:08 -05:00
Manuele Simi 4326d6613d Remove break statement. 2019-12-08 15:14:52 -05:00
Manuele Simi c7b951a4de Fix syntax. 2019-12-08 15:13:53 -05:00
Manuele Simi 48f8d98fe7 Fix syntax. 2019-12-08 15:12:29 -05:00
Manuele Simi 1ca7b3d462 Parse the previous report and decide what to build. 2019-12-08 15:10:38 -05:00
Manuele Simi 481a58150f Put job obj in scope. 2019-12-07 23:45:01 -05:00
Manuele Simi 9ec6fae599 Rename job var. 2019-12-07 23:15:57 -05:00
Manuele Simi bf5073bebe Print job results in the console. 2019-12-07 23:07:08 -05:00
Manuele Simi e81bc64dbc Adjust echo command, again. 2019-12-07 22:44:36 -05:00
Manuele Simi bc02edf421 Adjust echo command, again. 2019-12-07 22:40:14 -05:00
Manuele Simi 478ac55b21 Adjust echo command. 2019-12-07 22:34:53 -05:00
Manuele Simi 5d90126807 Create a job report. 2019-12-07 18:19:14 -05:00
Manuele Simi 6cbba2de51 Create a dynamic stage for each configured group. 2019-12-03 16:51:46 -05:00
Roberto Cirillo 2e801c2d36 added dataminer and gis components to the release
added stage LibrariesIILevel to the JnkinsFile
2019-12-02 16:32:38 +01:00
Manuele Simi a5030995f6 Set a dry-run profile for the first stage (maven-parent). 2019-11-22 21:53:24 -05:00
Manuele Simi 009509f2ed Remove branch column. 2019-10-28 13:35:09 -04:00
Manuele Simi ddf55fd308 Separate filename from packaging. 2019-10-25 14:32:49 -04:00
Manuele Simi d355a673c3 Add more columns to the report. 2019-10-22 22:56:48 -04:00
Manuele Simi d191329eb7 Adjust subject and body. 2019-10-22 15:17:31 -04:00
Manuele Simi fedf9bf2c3 Send report separately from build results to the releases mailing list. 2019-10-22 15:05:13 -04:00
Manuele Simi 44423acd60 Echo the report. 2019-10-22 09:12:37 -04:00
Manuele Simi f9de2f145e Adjust filename for attachments. Add email ext to README. 2019-10-22 08:56:23 -04:00
Manuele Simi 591cc0d31a Adjust email attachments. 2019-10-22 08:33:50 -04:00
Manuele Simi 1f0de2eaa0 Adjust emails. Attach log in case of failures. 2019-10-21 23:28:35 -04:00
Manuele Simi c36ef9e2a4 Fix path for build commits. 2019-10-21 23:01:14 -04:00
Manuele Simi 572d3b1727 Add release header. 2019-10-21 22:57:59 -04:00
Manuele Simi e6a734f40b Try to email the build commits. 2019-10-21 22:56:20 -04:00
Manuele Simi b3fac64bcb Add Component column. 2019-10-21 22:52:40 -04:00
Manuele Simi 0376d082cf Correct start time. 2019-10-21 22:41:17 -04:00
Manuele Simi da41ff2929 Add start time header to build_commits.csv. 2019-10-21 22:37:00 -04:00
Manuele Simi 6c6a292cac Output to CSV. 2019-10-21 22:24:32 -04:00
Manuele Simi 146303c77f Output ${AGENT_ROOT_FOLDER}/build_commits.txt. 2019-10-21 21:28:21 -04:00
Manuele Simi f74718b5e7 Clean up some code in the pipeline. 2019-10-16 21:09:11 -04:00
Roberto Cirillo 4219478782 Update 'Jenkinsfile'
fixed some echo messages
2019-10-16 18:41:40 +02:00
Roberto Cirillo 3b61167f6d Update 'Jenkinsfile'
Added the following stages:

CoreAuth, CoreSmartgears, Common
2019-10-16 18:40:05 +02:00
Manuele Simi f00919f478 More optimizations on Maven. 2019-10-11 22:51:59 -04:00
Manuele Simi 17f51ff0fd Activate the removal of the local repo. 2019-10-11 12:11:38 -04:00
Manuele Simi 62186ca73a Rename the REMOVE_LOCAL_REPO var. 2019-10-11 12:02:03 -04:00
Manuele Simi 253d5d1a28 Fix clean up value (test). 2019-10-11 11:59:26 -04:00
Manuele Simi 685be77766 Change order of env vars. 2019-10-11 11:56:03 -04:00
Manuele Simi 8a08a4bfac More logging. 2019-10-11 11:53:08 -04:00
Manuele Simi 7600fd2a36 Log new boolean parameters. 2019-10-11 11:44:16 -04:00
Manuele Simi 2d556dc0ef Just formatting a message. 2019-10-11 09:22:51 -04:00
Manuele Simi 1b642328ec New parameter to wipe out the gcube artifacts before the builds. 2019-10-11 09:14:17 -04:00
Manuele Simi f9035789e8 New boolean parameter to choose if the local repo must be wiped out or not. 2019-10-11 08:52:48 -04:00
Manuele Simi eb68c86eb0 Enable settings for the release build. 2019-10-10 23:35:51 -04:00
Manuele Simi 9f4d80e1ed New maven options to parallelize the builds. 2019-10-10 21:57:37 -04:00
Manuele Simi 9fb56fc246 Add build time to success email. 2019-10-10 15:19:37 -04:00
Manuele Simi f897c5ac3c Adjust the subject of emails. 2019-10-10 14:19:41 -04:00
Manuele Simi 375ff075e1 Set AGENT_ROOT_FOLDER as env var. 2019-10-10 12:32:40 -04:00
Manuele Simi b90b80ae42 Shell steps in the post-action block. 2019-10-10 12:26:56 -04:00
Manuele Simi 834e7c462e Email with pipeline results. 2019-10-10 12:21:52 -04:00
Manuele Simi 1f9b2fac31 Remove steps. 2019-10-10 11:04:29 -04:00
Manuele Simi b66becd978 Add steps block around the post-action. 2019-10-10 10:58:50 -04:00
Manuele Simi 0e535ee1f5 Fix missing quote. 2019-10-10 10:56:17 -04:00
Manuele Simi 2c38138c00 Change the default maven settings in the first stage and restore them as post-action. 2019-10-10 10:43:24 -04:00
Manuele Simi b9c2e5a12c Restore release-dry-run. Remove build number from the repo path. 2019-10-10 10:18:12 -04:00
Manuele Simi d748085413 Restore one share local repository among jobs. 2019-10-10 10:10:06 -04:00
Manuele Simi 514e7764da Set PIPELINE_BUILD_NUMBER in the env section. 2019-10-09 16:48:33 -04:00
Manuele Simi 08626b8234 Add build number to the repo path. 2019-10-09 16:06:19 -04:00
Manuele Simi a8accdbaa3 Create different local-repos within the same pipeline build. 2019-10-09 15:03:15 -04:00
Roberto Cirillo 5ed3477f31 remove agent_label var. set pipeline-agent-garr as string 2019-10-04 16:54:33 +02:00
Roberto Cirillo 0c538c01f6 Added NoDeps stage 2019-10-04 15:47:02 +02:00
Roberto Cirillo 131b73de0b Changed "agent_label" var to: pipeline-agent-garr 2019-10-04 15:29:30 +02:00
Manuele Simi fd0ee8e267 Use a var to define the agent label. 2019-10-04 09:11:36 -04:00
Roberto Cirillo 50545c3c22 added new stage Distribution 2019-10-03 17:25:08 +02:00
Manuele Simi 18b787ea51 Echo the results of the maven-parent job. 2019-10-02 16:42:16 -04:00
Manuele Simi e73ad73389 Correct the agent repo folder. 2019-10-02 11:48:37 -04:00
Manuele Simi 52a3e05cf0 Use a relative path for maven local_repo. 2019-10-01 12:17:50 -04:00
Manuele Simi 061b33e717 Remove copy&paste error. 2019-09-30 22:19:54 -04:00
Manuele Simi 0fe8181edd Add parameters to buildComponents. 2019-09-30 22:07:28 -04:00
Manuele Simi 5f20fd1884 Remove tools section. 2019-09-30 13:00:48 -04:00
Manuele Simi 6ebf6bde78 Matches parenthesis in the pipeline. 2019-09-30 12:57:58 -04:00
Manuele Simi 28d9446d6a Use the NodeLabelParameter plugin to set the pipeline-agent on the downstream jobs. 2019-09-30 10:55:59 -04:00
Manuele Simi 6fa0647d39 Configure downstream jobs with parameters. 2019-09-29 23:49:56 -04:00
Roberto Cirillo 0894e2adfc rename section Portal-Core to PortalCore
update the Jenkins file with the new sections defined in
gcube-4.15.0.yaml file
2019-09-26 10:46:29 +02:00
Manuele Simi 2f4f1a46d8 Forgot to quote maven-parent. 2019-09-25 09:47:49 -04:00
Manuele Simi a4256e5543 Do not call the buildComponents function for maven-parent. 2019-09-25 09:45:43 -04:00
Manuele Simi 93970747d3 Add stage to build the maven-parent at each execution (and only once). 2019-09-25 09:43:37 -04:00
Manuele Simi 20754acca4 Manage NONE as entry. 2019-09-25 09:21:45 -04:00
Manuele Simi bb522f1c77 Use the correct gCube_release_version parameter. 2019-09-25 09:15:52 -04:00
Manuele Simi c6e62514c4 Avoid parallel to run a null closure. 2019-09-04 13:11:51 -04:00
Manuele Simi df1c506a90 Manage NPE when colleccting the entries. 2019-09-04 12:15:57 -04:00