Questions tagged [jenkins]

Jenkins is an extendable open source continuous integration server

It is built in Java and has many plugins to support,build and test projects.

More info on the official website.

654 questions
0
votes
0 answers

Jenkins: Run python script using groovy in jenkins extended choice parameter

I'm new to python and groovy.Jenkins version i'm using is Jenkins 2.263.1. My problem statement: I have a python code passed with 1 argument which returns the list of values. This is running fine in bash. I want to use the values that is printed…
user615379
  • 1
  • 1
  • 1
0
votes
1 answer

Jenkins - Git fetch not fetching any branches

Newly setup jenkins isn't scanning any branches. I tried the global creds and multipipeline creds as well. The creds are regular http username and passwords. Here is the log: Started [Tue Dec 08 16:12:29 UTC 2020] Starting branch indexing... > git…
user630702
  • 495
  • 10
  • 32
0
votes
1 answer

Is it possible to use withFolderProperties to set default value in parameters section?

In Jenkins I want to set a field in the parameters section depending on the value on a parameters set in properties folder. Each time I try to use withFolderProperties outside stages sections, I've an error. so I ask the next question... Can I use…
Michel
  • 1
0
votes
1 answer

sequential deployment in multiple servers using ansible playbook

I have 8 servers as(s1,s2,s3...)which are windows servers and an ansible-playbook with tasks in roles. How do I configure host inventory and execute all these tasks in s1 then in s2 then in S3...sequentially that is the execution of the playbook in…
vodevops
  • 11
  • 3
0
votes
1 answer

Pass encrypted value from xml file to ms build command

I have a xml file with passwords in it. I have to pass these passwords from a xml file to password property in MSBUILD command. Can anyone guide me Xml: newpassword My…
vodevops
  • 11
  • 3
0
votes
1 answer

Configure jenkins to deploy artifact to one of shared location (Win)

Deploy an artifact in shared location where the target is not a host but our network path on our laptop c:/sharedpath.how do we configure jenkins to deploy the artifact to the network path.
vodevops
  • 11
  • 3
0
votes
1 answer

Jenkins pod failing to initialize

I am having a major problem with Jenkins pod not being able to start. This is how my kubernetes deployment looks like https://justpaste.it/8ff07 This is the log that I am getting when I investigate the logs https://justpaste.it/64vpb I am using this…
Bob
  • 191
  • 1
  • 1
  • 8
0
votes
1 answer

How to set up NGINX to forward incoming request to Jenkins?

I have an Azure Ubuntu 18.04 server. On the server I installed Docker and Jenkins. I want to access Jenkins from my local machine via port 8080. However, I cannot access Jenkins with the public IP address. For this reason I installed NGINX to…
Alex_P
  • 183
  • 7
0
votes
1 answer

How to create jenkins admin user later?

I clicked continue as admin, so user not created, later there is no admin user option when I logged in. How to set that?
uday kiran
  • 69
  • 3
0
votes
1 answer

Git pull a specific tag itself?

Because Jenkins pulls a git repo without tags, I'd like to pull the specific tag I'm interested in. Is there a syntax for this? I'm aware of git syntaxes that pull all tags, and syntaxes that pull from tags. What I'm after is the pulling of a…
0
votes
1 answer

Jenkins Pipeline: Build docker within docker container

I'm trying to do the following Checkout the code Do some prechecks using some other docker images (don't want to install these on Jenkins node) Build jar using docker image maven:3.6-jdk-8 Then run Dockerfile to build app image Push the image to…
Ganesh Satpute
  • 399
  • 1
  • 3
  • 6
0
votes
1 answer

Is it bad practice to use a CI server for cron/scheduled tasks

Is it considered bad practice to use something like Jenkins or Gitlab CI Pipelines to replace cron jobs? There are two downsides I can think of, giving the CI server access to all servers and having a single point of failure (if the CI server is…
0
votes
2 answers

Jenkins Integration with Android studio

Descrip : I created a jenkins job to integrate jenkins with Android studio for generating artifacts, While building the project in Android studio, The build is successfull.. But When i build the same project via jenkins, Im getting the below…
Manikandan Ram
  • 399
  • 2
  • 15
0
votes
1 answer

NGINX is forwarding HTTPS-traffic on some url's incorrectly to HTTP on port 443

This is a Docker container with NGINX and Jenkins in the same container, running with supervisord. The Docker container is running behind an ELB in AWS ECS. NGINX is supposed to forward traffic from http://jenkins to https://jenkins. What happens is…
ujjain
  • 3,983
  • 16
  • 53
  • 91
0
votes
1 answer

How to link my local jenkins with my kubernetes engine on GCP

I am here for a problem that I have encountered for days to link my local jenkins and my kubernetes cluster hosted on GCP. I launched this command gcloud container clusters get-credentials cluster-devops --zone=us-central1-c locally to generate…