Commit Graph

228 Commits

Author SHA1 Message Date
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
Manuele Simi 3b9ac54814 Access to the workspace with SEED_JOB. 2019-08-30 16:09:16 -04:00
Manuele Simi 4c8f3a4176 Access to the workspace with __FILE__. 2019-08-30 16:06:11 -04:00
Manuele Simi f32861fe19 Access to the workspace from the master node. 2019-08-30 15:34:49 -04:00
Manuele Simi 3ab4e0c39c Remove env. prefix. 2019-08-30 15:18:53 -04:00
Manuele Simi 403f80cd27 Access release files through the WORKSPACE variable. 2019-08-30 15:06:34 -04:00
Manuele Simi ed187a714c Locate the jenkinsfile. 2019-08-30 06:46:09 -04:00
Manuele Simi 6951c87314 List and print current files. 2019-08-29 17:40:43 -04:00
Manuele Simi a97397ba91 Echo content of the current folder. 2019-08-29 17:34:03 -04:00
Manuele Simi 8036fba682 Try relative path, again. 2019-08-29 17:32:12 -04:00
Manuele Simi a2740cb38f Try relative path. 2019-08-29 17:24:28 -04:00
Manuele Simi dababd3086 Fix release file path. 2019-08-29 16:58:17 -04:00
Manuele Simi 17494d8574 Add more checks on the release file. 2019-08-29 16:55:38 -04:00
Manuele Simi 0e2df958e1 First attempt to read the configuration from a JSON file. Add a sample JSON release for testing purposes. 2019-08-29 16:03:45 -04:00
Manuele Simi a261f8fec5 Resolve several issues with dynamic stages. 2019-08-29 15:12:50 -04:00
Manuele Simi 4ec0d9f47b Add RELEASE-STAGING settings. 2019-08-14 00:00:57 -04:00
Manuele Simi de6129cd32 Add gCube_release_number parameter to the pipeline and set a corresponding ENV variable for the builds. 2019-06-11 15:32:57 -04:00
Manuele Simi f55295faaa Fix the snapshots' filenames. 2019-05-30 22:24:52 -04:00
Manuele Simi b0356f4cb4 Disable full RELEASES until the pipeline is well-tested in a production environment. 2019-05-30 22:20:17 -04:00
Manuele Simi be1627d1b4 Configure the agent path for the different settings files. 2019-05-30 22:11:17 +02:00
Manuele Simi 041d823745 Switch to multiline steps. 2019-05-29 23:25:00 -04:00
Manuele Simi cc07b2eb5a Use a fixed root folder for the local maven repo. 2019-05-29 23:24:09 -04:00
Manuele Simi acb2f7067d Add missing steps block. 2019-05-29 22:31:08 -04:00
Manuele Simi 32d66c6a7e Make the local repo path available through an environment variable. 2019-05-29 22:25:29 -04:00
Manuele Simi f97f105687 Use a var to define the jdk used by Maven. 2019-05-29 22:05:18 -04:00
Manuele Simi e1167fcb45 Access to the local file system with the HOME env variable. 2019-05-29 22:04:19 -04:00
Manuele Simi 804f285b82 Build only on agents labeled as 'pipeline-agent'. 2019-05-29 21:56:05 -04:00
Manuele Simi 7aae11e022 Add links to documentation to the pipeline elements. 2019-05-29 20:46:15 -04:00
Manuele Simi 5ad17a0592 New clean up stage. 2019-05-28 22:54:34 -04:00
Manuele Simi 3fc96549bd Manage the dry-run parameters. 2019-05-28 22:04:34 -04:00
Manuele Simi be04eb00e4 Fix syntax. 2019-05-28 22:15:20 +02:00
Manuele Simi 2cb403e808 Remove the options map. Initialize the maven options. 2019-05-28 22:09:59 +02:00
Manuele Simi 86941c78ac Add options eval. 2019-05-28 21:59:42 +02:00
Manuele Simi 3926924b66 Maven options as map. 2019-05-28 21:59:08 +02:00
Manuele Simi dabe96d838 Extend maven options. 2019-05-28 21:52:16 +02:00
Manuele Simi b06cde66b3 Remove the branch name from the build steps. 2019-05-28 21:43:53 +02:00
Manuele Simi d0bf65ad9a Init all the vars. 2019-05-28 21:32:59 +02:00
Manuele Simi 82afb3ecf2 Prepare the different options for the builds. 2019-05-28 21:27:19 +02:00
Manuele Simi 8793e00371 More pretty formatting. 2019-05-28 17:01:30 +02:00
Manuele Simi 26d46859ec Pretty formatting. 2019-05-28 16:59:50 +02:00
Manuele Simi ff22bc3d07 Add stubs for post-build actions. 2019-05-28 16:43:07 +02:00
Manuele Simi 415da5a172 Define the full pipeline and organize the stages in steps. 2019-05-28 16:40:30 +02:00
Manuele Simi 1114841feb Formalize the pipeline parameters. 2019-05-28 09:38:19 -04:00
Manuele Simi e405b681ef First draft of the pipeline script. 2019-05-28 09:00:59 -04:00