jenkins-plugins

Triggering a multibranch pipeline job from an other multibranch pipeline

空扰寡人 提交于 2021-02-18 06:42:40
问题 I have a scenario where but I have 2 projects (A and B), both are configured in Jenkins with multibranch pipeline jobs, problem is that Project B depends on Project A. So I find that some times when I check in code in Project A, I also need to build ProjectB once A was built. Now before I started investigating pipeline builds, I'd have a job per branch and then trigger in Jenkins the appropriate job for Project B for the appropriate branch. What I'd like to set up in a Jenkinsfile so that

Does all the plugins present in the avaliable tab compatible with the version of master jenkins?

 ̄綄美尐妖づ 提交于 2021-02-11 17:15:35
问题 Say if I have 2 Jenkins master A: Jenkins version2.22 B: Jenkins version 2.35 So when I go to manage Jenkins --> manage plugins I see available plugins. Does that mean that all the plugins listed in available plugins are compatible with that particular version of Jenkins? For Eg: Available plugins in Jenkins master A are compatible with 2.22 versions of Jenkins. and Available plugins in Jenkins master B are compatible with 2.35 version Jenkins. 回答1: Jenkins shows the latest plugins' versions

Does all the plugins present in the avaliable tab compatible with the version of master jenkins?

佐手、 提交于 2021-02-11 17:15:29
问题 Say if I have 2 Jenkins master A: Jenkins version2.22 B: Jenkins version 2.35 So when I go to manage Jenkins --> manage plugins I see available plugins. Does that mean that all the plugins listed in available plugins are compatible with that particular version of Jenkins? For Eg: Available plugins in Jenkins master A are compatible with 2.22 versions of Jenkins. and Available plugins in Jenkins master B are compatible with 2.35 version Jenkins. 回答1: Jenkins shows the latest plugins' versions

Does all the plugins present in the avaliable tab compatible with the version of master jenkins?

安稳与你 提交于 2021-02-11 17:15:02
问题 Say if I have 2 Jenkins master A: Jenkins version2.22 B: Jenkins version 2.35 So when I go to manage Jenkins --> manage plugins I see available plugins. Does that mean that all the plugins listed in available plugins are compatible with that particular version of Jenkins? For Eg: Available plugins in Jenkins master A are compatible with 2.22 versions of Jenkins. and Available plugins in Jenkins master B are compatible with 2.35 version Jenkins. 回答1: Jenkins shows the latest plugins' versions

Deploying Azure Webjobs from Jenkins pipeline

筅森魡賤 提交于 2021-02-11 17:00:04
问题 Please guide me to setup the procedure how to deploy the azure web jobs from Jenkins Pipeline. I have gone through the google of searching the documentation but couldn't able to make it. 回答1: After many tests I did it by adding the OutputPath parameter in the deploy script and deleting the folder before. The script looks like this: dir('Publish'){ deleteDir() } bat "\"${tool 'Your MS Build'}\" Path_To_Project.csproj /p:Configuration=Release /p:DeployOnBuild=true /p:AllowUntrustedCertificate

Deploying Azure Webjobs from Jenkins pipeline

房东的猫 提交于 2021-02-11 16:59:39
问题 Please guide me to setup the procedure how to deploy the azure web jobs from Jenkins Pipeline. I have gone through the google of searching the documentation but couldn't able to make it. 回答1: After many tests I did it by adding the OutputPath parameter in the deploy script and deleting the folder before. The script looks like this: dir('Publish'){ deleteDir() } bat "\"${tool 'Your MS Build'}\" Path_To_Project.csproj /p:Configuration=Release /p:DeployOnBuild=true /p:AllowUntrustedCertificate

Jenkins concurrent builds on docker slaves

血红的双手。 提交于 2021-02-11 12:11:36
问题 I have a Jenkins Server (2.204.1) with Docker plugin (1.1.9) and a docker cloud API. I work with Jenkins docker agents (slaves) And i map the docker slave build workspace between the container and the host in order to be able to path Artifacts to the downstream jobs. in Jenkins Configuration - Docker Cloud Details - Container settings: Volumes /var/lib/jenkins:/var/lib/jenkins This works fine for a single build , The problem starts when i run concurrent builds, They are all mapped to the same

Jenkins CORS Filter plugin not adding Access-Control-Allow-Origins header

♀尐吖头ヾ 提交于 2021-02-11 04:55:22
问题 I am trying to add CORS support to my Jenkins server so I could access the REST API from the browser. From looking around, the recommended approach is to use the CORS Filter plugin. I have installed it, enable it, and add http://localhost to the Access-Control-Allow-Origins field, as well as GET to Access-Control-Allow-Methods field. However, these headers are not showing up in my requests. This plugin has not been updated in a few years, so I'm not sure if it's compatible with the latest

Jenkins Persistent Editable Global Variable

末鹿安然 提交于 2021-02-10 14:31:47
问题 I'm looking for a plugin/approach that lets me set and read a persistent global variable for use between jobs. The scenario is that I have CI job that runs tests on various branches of the codebase and I want to associate a build number that corresponds to the last stable build of the release branch. i.e. Build No Branch Result GolbalSharedThingVal 5 release Success 1.5 6 dev Fail 1.5 7 dev Success 1.7 8 release Unstable 1.7 9 release Success 1.9 10 release Fail 1.9 Then in my deployment job

Jenkins Persistent Editable Global Variable

匆匆过客 提交于 2021-02-10 14:28:56
问题 I'm looking for a plugin/approach that lets me set and read a persistent global variable for use between jobs. The scenario is that I have CI job that runs tests on various branches of the codebase and I want to associate a build number that corresponds to the last stable build of the release branch. i.e. Build No Branch Result GolbalSharedThingVal 5 release Success 1.5 6 dev Fail 1.5 7 dev Success 1.7 8 release Unstable 1.7 9 release Success 1.9 10 release Fail 1.9 Then in my deployment job