Questions tagged [jenkins2]

The tag has no usage guidance.

0
votes
1answer
83 views

Load Balancing of Jenkins Nodes without Load Balancing Plugin?

we currently want to introduce a loadbalancing on the Jenkins server and our nodes. I have already created several nodes. Currently it is also so that if a node is blocked accordingly, that the next ...
0
votes
1answer
110 views

Jenkins parameters default to env variable?

I am trying to crate parameters field which is default to current build no. parameters { string( name: 'DEPLOY_BUILD_NUMBER', defaultValue: '${BUILD_NUMBER}', description: ...
1
vote
1answer
212 views

Trigger a job and get the job log on the same page in Jenkins

I would like to trigger the job in Jenkins and also get the log on the same page. E.g. Kind of IDE where we can run the code in one side and get the output on the other side. Are there any tools ...
2
votes
2answers
2k views

after automatic update jenkins fails with `InvalidBuildsDir: …/${ITEM_FULL_NAME}/builds does not resolve to an absolute path`

I had a working Jenkins running as a Service on a Windows-2000 Server I updated my Jenkins from 2.120 to 2.122 via Jenkins own update mechanism. In the same run I updated some plugings too. Now my ...
7
votes
2answers
2k views

Is there a way to run the Jenkinsfile from command line?

I don't want to use Jenkins UI, instead I would like to use the command line, from command line I want to execute Jenkinsfile to the Jenkins server. Is this possible? Let's say I have a Jenkinsfile, ...
3
votes
3answers
2k views

How to restore default Jenkins plugins?

I do a lot of testing in my Jenkins VM which I have on my local laptop. I found this time-consuming to remove Jenkins and installing again from scratch. It would be better if I have a simple way to ...
1
vote
1answer
322 views

Compatibility of http-builder-ng Groovy module with Jenkins 2

Did somebody had a chance to use http-builder-ng Groovy module in Jenkins pipeline? When I use this module with any kind of request/URL it always returns me null object when the same source code ...
2
votes
2answers
3k views

How can a Windows server be a slave to Jenkins running on Linux when there in an error installing the slave-agent.jnlp file?

I want to have a Windows Server 2016 slave node with a master Jenkins (version 2.89.2) running on Red Hat Enterprise Linux 7.x. I am trying to install the slave-agent.jnlp file from the Jenkins web ...
3
votes
1answer
962 views

docker as slave for jenkins

I have installed Jenkins and docker on the same machine Ubuntu. Ubuntu 17.10 Jenkins ver. 2.73.3 Docker version 17.09.0-ce. I am trying to set up jenkins docker containers as slaves for running my ...
2
votes
3answers
4k views

Jenkins shows the job as failed if there is nothing to commit to gitlab

I have been using one Jenkins job, that will pull repository from gitlab. Then it will modify the files and push it into gitlab (only if any user added any new files/modify contents in gitlab). ...
11
votes
1answer
314 views

Upgrade from job-dsl to Jenkins 2 pipelines

Is there a common practice for migrating a large repository of Jenkins job-dsl to Jenkins2 pipelines? I am looking for ways to test the behaviour of builds, that go a little further than comparison of ...