Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [jenkins2]

The tag has no usage guidance.

1
vote
1answer
105 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
1k 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
851 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, ...
4
votes
3answers
760 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
222 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
2k 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 ...
4
votes
1answer
679 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 ...
1
vote
3answers
3k 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
291 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 ...