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 [jenkins]

Jenkins, the Continuous Integration Tool

0
votes
0answers
9 views

Jenkins on EC2 AWS service: getting '[ec2-user: command not found' error

I am installing Jenkins on EC2 instance. I have followed all the steps from the AWS document provided at https://d1.awsstatic.com/Projects/P5505030/aws-project_Jenkins-build-server.pdf . I am stuck at ...
0
votes
1answer
20 views

cant access Jenkins user root access. in ubuntu18.04

I changed /etc/sudoers: # User privilege specification root ALL=(ALL:ALL) ALL jenkins ALL= (ALL:ALL) NOPASSWD:ALL It works in root user but the mount command does not work in jenkins user in: ...
0
votes
0answers
29 views

MSBuild sometimes fails with error: “XA5300: Error finding Xamarin.Android SDK”

We develop apps for iOS and Android using Visual Studio 2017 / Xamarin. Using Jenkins on a Mac Mini, we build the apps nightly and run UI tests. But the Android build sometimes fails with the error: ...
1
vote
0answers
23 views

Jenkins in docker and ssh

i have a jenkins that run inside a docker container (on a server A) and i want to publish an artifact over ssh in a server B. I have installed the plugin "publish over ssh" in Jenkins but i don't ...
0
votes
0answers
24 views

How does 'net use' command work with different users and different processes

Recently, I wrote a python script to do some routine file manipulation and maintenance for a folder on a shared network drive (one that requires authentication to access). When I ran the the script ...
0
votes
0answers
10 views

Why TFS ignores bin folder in eclipse IDE, how do I include it?

I am trying to execute my testng.xml file via jenkins using following batch commands. set projectLocation=D:\test cd %projectLocation% set classpath=%projectLocation%\bin;%projectLocation%\lib\* java ...
0
votes
0answers
17 views

Allure reports webserver configuration with host and port, is it possible? [closed]

I need to configure webserver with port# to launch allure reports to share across my org... since jenkins workspace is not accessible to everyone in team. Is there a way? Currently we are using Allure ...
0
votes
0answers
6 views

How to Launch Local Browser from Jenkins Server

I need to trigger my local browser through jenkins installed in server. I already created a selenium script and it is working in my local machine. I also tried my code using jenkins installed in my ...
0
votes
0answers
14 views

Jenkins slave is not accessing chrome in GUI

I have my selenium automation script running in chrome and it is running through Jenkins. I have two machines in Jenkins, one master, and one slave, both of them are Windows 2012 R2. While running in ...
1
vote
1answer
17 views

How to trigger pull request merge in Bitbucket from Jenkins

I have to preapre a job in Jenkins which allow to pull request merge in Bitbucket. I couldnt't find any addons on Bitbucket and Jenkins as well. I've made workaround which merging locally these two ...
0
votes
1answer
22 views

Jenkins build with parameters only calls master branch

I am building a gitlab/jenkins stack, and have connected my gitlab to jenkins. Now when I want to build my test item with a parameter rather than "master", Jenkins only uses "master" branch to build ...
0
votes
0answers
8 views

NodeJS Plugin configuration for Jenkins

I want to use nodejs in Jenkins so I installed the Nodejs plugin. I did the step 1 and step 2 with the help of the documentation : https://wiki.jenkins.io/display/JENKINS/NodeJS+Plugin But I'm ...
0
votes
0answers
30 views

How to use SCP to copy files created between two dates from remote server?

I've made a Jenkins job to download gz archived csv reports with scp: sshpass -p $password scp -o StrictHostKeyChecking=no -r $login@$IP:/archive/*.csv.gz . Now I need to download only archives ...
1
vote
1answer
89 views

nuget.exe fail: Missing required property 'OutputPath' for project type 'PackageReference'

(Using nuget.exe version 4.9.2 and Visual Studio 2017 Community Edition) I'm stumped on a nuget.exe restore issue. I'm using Jenkins to build pushed sources. I had a solution with a single project ...
0
votes
0answers
11 views

Error while connecting source code management in Jenkins

My Jenkins is installed on a remote server and I can access it through a particular URL. When I try to add source code management as git and provide the URL of my git repo, it gives me an error: ...
-1
votes
0answers
9 views

From Jenkins server i need help in connecting to an SSH server where i deploy build artifacts

I have setup a project in jenkins and also installed "Publish over SSH" plugin on my jenkins server in my office network, to connect to a remote production server (on linode cloud) where we want to ...
1
vote
1answer
127 views

Depends: daemon but it is not yet installable - Jenkins install on Ubuntu 18.04.1 LTS

I'm trying to install Jenkins on a Virtual machine running Ubuntu 18.04.1 LTS via the following guide (https://websiteforstudents.com/install-jenkins-on-ubuntu-16-04-17-10-18-04-lts-server/). I am ...
0
votes
1answer
23 views

How to use docker in scripted jenkins pipeline on RHEL7

The goal is to start a docker image from a scripted jenkins pipeline. The node running docker is RHEL7 machine. On RHEL7 regular users aren't allowed to execute docker commands without sudo, see ...
0
votes
1answer
43 views

How to post Jenkins JUnit Results to Bitbucket

We have a Jenkins and we have a local Bitbucket Server. We already installed "Bitbucket Plugin" on Jenkins "Post Webhooks" on Bitbucket Then we set in jenkins Branches to build Branch Specifier ...
0
votes
0answers
46 views

Monitor Network Activity on Mac for java.nio.channels.ClosedChannelException

I am running a Jenkins server (2.138.2) with about a dozen or so Mac nodes. Each of these nodes is running High Sierra with the exception of just one which runs Mojave. My problem is that very ...
0
votes
0answers
10 views

How does jenkins map JUNIT XML to the results shown after using “Publish JUnit test results”

I have created a single "testsuit" tag in XML. It looks like the inclusion of an "error" or "failure" tag in the "testcase" tag it is treated as a fail. Without either it is a pass. The "message" ...
1
vote
2answers
61 views

Jenkins wont run on Fedora 27

I cannot get jenkins working on fedora 27 after the rather standard install process. dnf install jenkins systemctl start jenkins wget localhost:8080 --2018-09-27 21:27:51-- http://localhost:8080/ ...
0
votes
1answer
349 views

sudo su with password provided in jenkins?

I am stuck with one requirement in which I am switching to some "xxx" user and it asks for password every time. I am trying to automate this process with password hardcoded in Jenkins job. ex: sudo su ...
0
votes
0answers
22 views

Batch script is unable to read Windows environment variables if windows agent is running over SSH from linux master Jenkins

I have setup Jenkins master on linux, and agent on windows 7 using SSH. But when my jenkins job is invoking batch scripts present on windows agent, it's unable to get %LOCALAPPDATA%, %USERPROFILE% and ...
0
votes
0answers
240 views

Merge with Jenkins using pipeline

I try to merge branch ( master <-- newBranch ) with Jenkinsfile (pull request trigger) without conflict. When the Jenkins finishes running I get an error message on step3: "fatal: There is no ...
0
votes
0answers
21 views

Jenkins Post Action Build to change status based on a generated file

Is there a way to read a file post build in Jenkins and change the status of the build accordingly? Currently, I am running my Python Selenium using Jenkins by calling a batch command file to run the ...
0
votes
0answers
96 views

How Can a Linux Service (Jenkins) Obtain a Kerberos TGT Upon Startup?

I am running CentOS 7.3 on several Linux hosts. Kerberos is set up to facilitate Single Sign On for SSH. When running as my human user, I can SSH around in a passwordless manner without trouble. I ...
0
votes
0answers
8 views

Need help upgrading Tomcat 7 on Windows

So the last systems administrator installed Tomcat 7.59 and I need to upgrade it to 7.88. What is the easiest way to upgrade tomcat? Currently Jenkins is setup using this tomcat install so I would ...
1
vote
1answer
810 views

Jenkins & GitHub Enterprise Servers API endpoint error - requires POST

I am trying to set up the API endpoint for Jenkins to know how to communicate with a GitHub Enterprise Server. I am working behind a corporate proxy (though the error persists whether or not I have ...
2
votes
1answer
118 views

Jenkins private Credentials for Bitbucket

I have a little problem. I currently have the Microsoft AD plugin on my Jenkins with which all users can log in. Additionally, I installed the plugin RoleBasedStrategy to set permissions for the ...
0
votes
0answers
154 views

Is there a way to trigger Jenkins once Docker Hub is done building my image?

I would like to create an automatic deployment system that starts when I push my code to my Github repository. I've read online that I can link my Github account to my DockerHub one, and that ...
1
vote
0answers
28 views

Configure Jenkins [closed]

I want to configure Jenkins CI, but I don't know how to do the followings: Setting environment configuration file. I have an environment configuration file excluded from git repository. When I build ...
0
votes
3answers
1k views

Groovy syntax not working with backslashes

I'm trying to use a backslash on the command bellow at groovy syntax: find /path/folder-* -type f -iname "file*" -exec rm -f {} \; When I try to build this command on a Jenkins pipeline give me an ...
0
votes
0answers
42 views

Jenkins plugin list cannot be updated

I installed a Jenkins on my laptop, but cannot update the plug-in list. I just don't know how to further investigate it. Here are some information: My laptop have a Windows system. I created a ...
0
votes
1answer
474 views

git ls-remote throws fatal: HTTP request failed

when jenkins tries this command: git ls-remote --tags --heads https://github.com/angular/bower-angular-resource.git it fails and breaks the build, trying the same command in the console got the ...
0
votes
0answers
36 views

Extracting minor version number from C# source using MSDOS batch file

I need to extract the version number from this C# source line using MSDOS batch file: public const int major_version = 2; My attempt: :: Extract the number-token from the major version string. ::...
0
votes
0answers
269 views

Selenium/Xvfb Issues with Jenkins

I'm struggling to get Jenkins to run Selenium/Xvfb for some functional tests on a project. Either Jenkins will hang and the job never finishes or ends up terminating with errors. This is using the ...
0
votes
1answer
38 views

Service running on a specific port works from any website… How to disable that?

So, I'm running multiple webpages on my VPS, and utilize Apache's virtualhosts to ensure that anyone headed to my site is sent to the proper site. Unfortunately, something I've noticed after setting ...
0
votes
0answers
226 views

Xlsx to csv Running on Jenkins

I've a bat script that converts the xlsx file to csv file conversion. While I running the batch script from Command prompt I don't get any error it converts properly and the csv file is gets generated ...
0
votes
1answer
118 views

how to use Jenkins conditionals?

I have a flow inside a simple project, I want to do the following if the day is Saturday I want to run job A else I would like job B to run, schematically like this: DAY = $(date+"%A") if($DAY == ...
1
vote
1answer
573 views

Unable to install SVN plugin in Jenkins

I am using Jenkins as standalone WebApp (i.e. .WAR file). I am unable however to install Subversion Modules plugin in Jenkins. I have checked all the available plugins but I could not figure out which ...
0
votes
0answers
127 views

installing jenkins on windows server

hi guys can you please help me with the below error (unable to install jenkins on windows) fyi : i installed jenkins from -> mirrors.jenkins.io/war i instaled 1.454 in windows INFO: Winstone ...
1
vote
2answers
178 views

HTTP request failed on bower angular-card-input install on jenkins build script

I am getting a error while running bower script to build a frontend in angular: bower angular-ui-utils#bower ECMDERR Failed to execute "git ls-remote --tags --heads https://github.com/angular-ui/...
0
votes
0answers
67 views

Jenkins returns status code -1 (hudson.plugins.git.GitException)

I am getting the below error in Jenkins while fetching tags from git repo. Jenkins version : 1.657 Server : Windows Server 2012 R2 Unexpected error! hudson.plugins.git.GitException: Command "git....
0
votes
0answers
117 views

IO error when trying to take a screenshot on Jenkins windows slave

Basically I am running a build under a windows slave agent (Windows 7, 32 bit) which is connected through SSH. The build runs fine but when I am trying to grab an image or take a screenshot using PIL, ...
0
votes
0answers
11 views

PTC with Jenkins on Deployment based on the Build request which raised on PTC

I've build which is checked-in on the PTC Integrity and I've raised the CR or SR ticket(Build & Deploy Request) on the PTC life manager by developer for deploy his build on some XXXX server and ...
0
votes
0answers
52 views

How to enable JCE in a command line environment

I’d like to use Jenkins’ ssh-slaves, but the openjdk-1.8.0-131 crypto is crippled. To fix the ciphers I need to get the Java Cryptography Extensions from Oracle website. My specific problem is I can ...
1
vote
0answers
194 views

Let Jenkins build Virtual Boxes inside KVM?

I am in the situation to evaluate virtual box running inside a KVM Debian-Guest, that in turn runs on a Debian-Hypervisor. The Debian-Hypervisor is one of my company's big machines, that runs several ...
-2
votes
1answer
2k views

How can I schedule a jenkins job every hour [duplicate]

I'm New to Jenkins. I have a job which i need to schedule every 1 hour. I am using * */1 * * * but it is not working effectively. Please provide any other solution.  
0
votes
1answer
310 views

Is there a way to insert a manual approval for Build pipeline 1.5.8 version in jenkins 2

I am using jenkins 2.89.2 version. For deployment into production system it's often useful to require manual approval; is there a way to insert a manual button to press inside a pipeline? I tried ...