jenkins-2 Questions
3
I have tons of existing Freestyle Jenkins jobs in my old Jenkins Instance and now I would like to migrate them to New Jenkins 2.0 pipeline jobs using a Jenkins file.
I am following this page to cr...
Heydon asked 30/6, 2017 at 14:48
3
Solved
I am working on a Jenkinsfile for use with Jenkins 2.0. The readMavenPom method is not recognized. Is there some configuration I am missing to make this available?
My Jenkinsfile:
node {
stage '...
Lightning asked 12/5, 2016 at 20:40
3
I'm trying to run Jenkins 2 pipeline (Jenkinsfile) that will use npm publish to publish a package to local NPM repository.
In order to do that I've try to use the following stage in Jenkinsfile:
s...
Arnaldo asked 13/10, 2016 at 8:55
3
Solved
I am new to docker and Jenkins2.
I am trying to pull docker image from private docker repository.
pipeline {
agent{
docker{
image "PrivateRepo/Test"
args "--username testUser --password pass -...
Bazemore asked 19/12, 2017 at 14:40
4
In a Jenkins pipeline, I want to provide an option to the user to give an interactive input at run time. I want to understand how we can read the user input in the Groovy script.
I'm referring to t...
Jameljamerson asked 2/11, 2017 at 16:54
4
How can a file from the current workspace be passed as a parameter to a build job, e.g.:
build job: 'other-project', parameters: [[$class: 'FileParameterValue', ????]]
Handicraft asked 18/5, 2016 at 9:56
5
How can a file from the current project workspace be passed as a parameter to another project.
e.g. something like:
build job: 'otherproject', parameters: [[$class: 'FileParameterValue', name: 'o...
Salpingotomy asked 18/5, 2016 at 9:40
6
Solved
I have two Jenkins pipelines, let's say pipeline-A and pipeline-B. I want to invoke pipeline-A in pipeline-B. How can I do this?
(pipeline-A is a subset of pipeline-B. Pipeline-A is responsible f...
Undeviating asked 11/4, 2017 at 4:56
3
Solved
We want to use Jenkins to generate releases/deployments on specific project milestones. Is it possible to trigger a Jenkins Pipeline (defined in a Jenkinsfile or Groovy script) when a tag is pushed...
Mansard asked 16/5, 2017 at 14:14
8
Solved
Is there a way to get the current tag ( or null if there is none ) for a job in a Jenkinsfile? The background is that I only want to build some artifacts ( android APKs ) when this commit has a tag...
3
We have a Jenkins job that uses a declarative pipeline.
This job can be triggered by different other builds.
In the declarative pipeline how can I find out which build has triggered the pipeline?...
Tillietillinger asked 24/10, 2017 at 10:41
5
We have Jenkins 2 set to build every push to GitHub, and we do not use the Pull Request builder (although commits that are part of a pull request obviously will get built, as well). The GitHub Inte...
Daddylonglegs asked 4/4, 2017 at 18:17
1
Solved
I am using multibranch pipelines in projects with two branches: develop and master. This creates two subprojects, one for each branch:
App_Pipeline
|---master
|---develop
I have set up the Rol...
Maines asked 27/4, 2017 at 19:44
3
This option was available when I was on jenkins 1.65. Today I moved to jenkins 2.0 with a fresh install on a new machine. I don't see this option.
This option is necessary for our delivery pipelin...
4
Solved
It looks like the GitHubPullRequestBuilder is not compatible with Jenkins v2.0 pipeline jobs.
How do you configure a pipeline job to be triggered from a GitHub pull request event?
The documentati...
Illlooking asked 25/4, 2016 at 20:30
3
As we know, Jenkins 2.0 has been released, and it is extending beyond just continuous integration (CI) to continuous delivery (CD). So I want to ask, what are the competitive advantages of Spinnake...
Revanchism asked 21/6, 2016 at 6:25
2
Solved
I want to emulate the original Jenkins behaviour of doing stuff (like sending out notifications) when builds become unstable / fail or become successful again.
For that I need to query the previou...
Presumably asked 27/10, 2016 at 12:43
4
I'm using Jenkins 2.x with a Jenkinsfile to run a pipeline.
I have built a job using Jenkinsfile and I want to invoke the Analysis Collector Plugin so I can view the report.
Here is my current Je...
Sturtevant asked 25/7, 2016 at 4:21
2
Solved
I have few steps in my Jenkins pipeline that notify users, in my case using Slack integration.
is it a good practice to write the notification code inside a node block to use a heavyweight executor...
Infelicity asked 20/6, 2017 at 15:42
3
Solved
I am currently testing the pipeline approach of Jenkins 2.0 to see if it works for the build environment I am using.
First about the environment itself. It currently consists of multiple SCM repos...
Harts asked 24/4, 2016 at 15:24
3
Solved
I am running the following docker image jenkinsci/jenkins:2.0-rc-1 to try out jenkins 2.0, and the "pipeline" view.
I can't seem to install node. Here's my pipeline script:
node {
//tool([name: ...
Konstance asked 12/4, 2016 at 13:57
2
Solved
I have several projects that use a Jenkinsfile which is practically the same. The only difference is the git project that it has to checkout. This forces me to have one Jenkinsfile per project alth...
Jocularity asked 7/4, 2017 at 12:26
2
Solved
Is there a way to tell Jenkins (2.2) to remove jobs for branches that were deleted? Currently my build-monitor fills up with branches as the jobs are not deleted. Is there a setting to trigger this...
2
Solved
I'm using Jenkins 2 with the Bitbucket Branch Source Plugin which scans and builds all the branches and PRs.
My problem is that when I push code to a PR, the branch is built twice (one for the br...
Consanguineous asked 29/9, 2016 at 10:5
3
Solved
We have upgraded to Jenkins 2.0 and after upgrade we were not able to create a new job and while clicking the New Item it directs to a blank page, Below are the error on the log captured at that ti...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.