Commit Graph

193 Commits

Author SHA1 Message Date
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
Manuele Simi 8d65b2bd4f Manage NPE when a group is not available in the release file. 2019-09-04 12:12:10 -04:00
Manuele Simi 3cc9fb3c06 Add version tag to each component. 2019-09-03 23:37:22 -04:00
Manuele Simi dd32572d09 Add withMaven closure 2019-09-03 22:01:33 -04:00
Manuele Simi cebb92951f Switch URL to master. 2019-09-03 21:52:47 -04:00
Manuele Simi 3850e86924 Set new default for the release version parameter. 2019-09-03 21:51:40 -04:00
Manuele Simi 52e5ad0820 Remove old attempts from the repository. Rename to Jenkinsfile. 2019-09-03 21:06:34 -04:00
Manuele Simi 0605e8fe6e Save last JSON version. 2019-09-02 07:59:42 -04:00
Manuele Simi 5d3625cdde Remove stage block around the build command. 2019-08-31 23:51:46 -04:00
Manuele Simi 7c74ee67cb Remove parallel blocks. Try with loops at stage level. 2019-08-31 23:10:05 -04:00
Manuele Simi 5b9d2f597f Set real jobs for parallel nested pipeline. 2019-08-31 16:04:31 -04:00
Manuele Simi 0e63817065 Use pipeline-agent 2019-08-31 08:54:23 -04:00
Manuele Simi 8c6b79ac97 Back to any agent. 2019-08-31 08:48:36 -04:00
Manuele Simi 784791813b Set none agent. 2019-08-31 08:38:32 -04:00
Manuele Simi 1ad8121e41 Fix any label. 2019-08-30 23:02:46 -04:00
Manuele Simi 9b32dc2f4b Use any node. 2019-08-30 22:58:05 -04:00
Manuele Simi cc5376ff69 Fix URL. 2019-08-30 22:47:10 -04:00
Manuele Simi faf6941dae Parse full text. 2019-08-30 22:43:32 -04:00
Manuele Simi 3f2a76f40d Remove double extension. 2019-08-30 22:40:34 -04:00
Manuele Simi ca59799284 Parse the release file from the server. 2019-08-30 22:37:25 -04:00
Manuele Simi 4f3c9156b7 Print the environment. 2019-08-30 22:20:23 -04:00
Manuele Simi 84fbfae86e Access to the workspace with readFile(). 2019-08-30 16:24:07 -04:00
Manuele Simi 07b17d6a7f Access to the workspace with readFileFromWorkspace(). 2019-08-30 16:21:31 -04:00