jenkins-pipeline

Is there any way to get Gitlab pipeline artifacts in Jenkins?

主宰稳场 提交于 2020-12-12 02:06:43
问题 I have a project in gitlab. The project gets built for every check-in in the repo and build artifacts are created when the gitlab pipeline is successful. I want to get these build artifacts in my jenkins pipeline job. Is there any way to do that? I couldn't find any plugin in Jenkins to do this. Any help is appreciated. 回答1: The GitLab API offers this with both complete artifacts package (zip) and single files. You need a GitLab token which you can add as a Credential (secret text) and the

Is there any way to get Gitlab pipeline artifacts in Jenkins?

允我心安 提交于 2020-12-12 02:05:19
问题 I have a project in gitlab. The project gets built for every check-in in the repo and build artifacts are created when the gitlab pipeline is successful. I want to get these build artifacts in my jenkins pipeline job. Is there any way to do that? I couldn't find any plugin in Jenkins to do this. Any help is appreciated. 回答1: The GitLab API offers this with both complete artifacts package (zip) and single files. You need a GitLab token which you can add as a Credential (secret text) and the

Is there any way to get Gitlab pipeline artifacts in Jenkins?

早过忘川 提交于 2020-12-12 02:04:54
问题 I have a project in gitlab. The project gets built for every check-in in the repo and build artifacts are created when the gitlab pipeline is successful. I want to get these build artifacts in my jenkins pipeline job. Is there any way to do that? I couldn't find any plugin in Jenkins to do this. Any help is appreciated. 回答1: The GitLab API offers this with both complete artifacts package (zip) and single files. You need a GitLab token which you can add as a Credential (secret text) and the

Is there any way to get Gitlab pipeline artifacts in Jenkins?

萝らか妹 提交于 2020-12-12 02:04:27
问题 I have a project in gitlab. The project gets built for every check-in in the repo and build artifacts are created when the gitlab pipeline is successful. I want to get these build artifacts in my jenkins pipeline job. Is there any way to do that? I couldn't find any plugin in Jenkins to do this. Any help is appreciated. 回答1: The GitLab API offers this with both complete artifacts package (zip) and single files. You need a GitLab token which you can add as a Credential (secret text) and the

Disable changelog in Jenkins pipeline checkout

橙三吉。 提交于 2020-12-09 23:07:15
问题 I have a Jenkins pipeline that checks out specific commits from several different repos. I would like to disable the calculation of the changeSet (changelog) since the /api/json call to the job takes a long time to compute (and the changelog is not important for that job in any case). In the pipeline I'm checking out the code with: checkout([$class: 'GitSCM', branches: [[name: commitHash]], doGenerateSubmoduleConfigurations: false, submoduleCfg: [], changelog: false, poll: false,

Disable changelog in Jenkins pipeline checkout

巧了我就是萌 提交于 2020-12-09 23:05:02
问题 I have a Jenkins pipeline that checks out specific commits from several different repos. I would like to disable the calculation of the changeSet (changelog) since the /api/json call to the job takes a long time to compute (and the changelog is not important for that job in any case). In the pipeline I'm checking out the code with: checkout([$class: 'GitSCM', branches: [[name: commitHash]], doGenerateSubmoduleConfigurations: false, submoduleCfg: [], changelog: false, poll: false,

How can I generate html reports in jenkins

会有一股神秘感。 提交于 2020-12-06 16:57:55
问题 Image of post build action step for "Publish HTML Reports plugin" in maven based project After adding the plugin also I am getting http 404 error. Is there anything required to write any shell script or any code in pipeline to generate html reports or directly we can generate html reports? Can you please help me out in resolving the error....?? 回答1: According to documents on the plugin page, it only helps us bring the pages to Jenkins dashboard (not generate them). That means we have to

How can I generate html reports in jenkins

落爺英雄遲暮 提交于 2020-12-06 16:57:03
问题 Image of post build action step for "Publish HTML Reports plugin" in maven based project After adding the plugin also I am getting http 404 error. Is there anything required to write any shell script or any code in pipeline to generate html reports or directly we can generate html reports? Can you please help me out in resolving the error....?? 回答1: According to documents on the plugin page, it only helps us bring the pages to Jenkins dashboard (not generate them). That means we have to

How can I generate html reports in jenkins

空扰寡人 提交于 2020-12-06 16:56:26
问题 Image of post build action step for "Publish HTML Reports plugin" in maven based project After adding the plugin also I am getting http 404 error. Is there anything required to write any shell script or any code in pipeline to generate html reports or directly we can generate html reports? Can you please help me out in resolving the error....?? 回答1: According to documents on the plugin page, it only helps us bring the pages to Jenkins dashboard (not generate them). That means we have to

Configuring Groovy SDK within IntelliJ IDEA

删除回忆录丶 提交于 2020-12-02 00:35:14
问题 I am running IntelliJ IDEA 2017.2.3. I installed Groovy 2.4.12 via Homebrew (OS X). When I open a Groovy source file (or a Jenkinsfile ), I get the following: Groovy SDK is not configured for module 'my-module' . . . . . Configure Groovy SDK... Clicking "Configure Groovy SDK..." leads me to the following dialog: I tried hitting "Create..." and selecting many different Groovy-related folders and executables, but nothing works. How can I get IntelliJ IDEA to accept my Groovy SDK? 回答1: IntelliJ