jenkins-cli Questions
2
I would like to add extra columns to the build history sidebar that can be modified by user (comments,etc..).
Has anyone did something similar? or any suggestions how can it done easily?
Dobb asked 25/8, 2016 at 8:13
1
My job has a build step Build - Execute shell, I only put these two command in:
echo $WORKSPACE
echo $PWD
And the output really confused me:
+ echo /home/jenkins/workspace/tradefed/test_deploym...
Privy asked 15/3, 2019 at 8:3
3
Solved
Is is possible to disable Jenkins CLI over Remoting option via Groovy script? I want to put the script into init.groovy.d so that is option is disabled upon start up so I am not prompted to disable...
Ochone asked 12/6, 2017 at 14:13
4
Solved
I have around 100-120 jobs in one of the view called "Gradle Deploys" that I created in Jenkins. How can I disable all the jobs from Jenkins only from a given View / tab.
I tried the following gro...
Codger asked 29/6, 2015 at 16:52
5
How can I update a jira issue from within a Jenkinsfile (jenkins-worflow/pipeline)?
Is there a way I could use the Jira Issue Updater plugin as a step in the Jenkinsfile?
I know I could use the ...
Geriatrics asked 4/2, 2016 at 22:55
5
Solved
I updated my mac to catalina and i am starting to get this error. Before everything was working fine.
I am trying to cd into the directory from my jenkins workspace and run my npm tests and i am g...
Ibbie asked 29/4, 2020 at 20:8
4
Solved
I have installed and configured jenkins on the centos 7.I have added valid java path i.e "/usr/bin/java" in the file /etc/init.d/jenkins.
Below are the java path detils:
lrwxrwxrwx. 1 root root 2...
Sailcloth asked 13/7, 2016 at 13:14
3
I have a requirement in Jenkins pipeline where in after the successful build I need an user input to proceed or abort. The developers are only intended for deployment into Dev environment and Ops p...
Commutual asked 9/4, 2018 at 5:57
6
I am trying to get the number of builds in the Jenkins Build Queue.
May I know the Jenkins command to get the number of builds running in the queue ?
Lavatory asked 10/7, 2015 at 9:59
2
I cant see examples of how to do this:
https://jenkins.io/doc/book/managing/plugins/
I backup a list of all plugins installed and their versions.
I want to use install-plugin command to install a...
Mikkel asked 25/10, 2018 at 16:17
4
i am trying to ssh into a remote host and then execute certain commands on the remote host's shell. Following is my pipeline code.
pipeline {
agent any
environment {
// comment added
APPLICATI...
Halfway asked 20/3, 2019 at 12:4
3
Solved
As soon as I attempted to upgrade my Jenkins job to use a parameter for the branch rather than a hard coded value it no longer works.
Have tried many other names than BUILD_BRANCH
Here I've tried...
Nestling asked 24/2, 2020 at 17:25
3
Solved
I am using jenkins for periodically building my node.js application. Whenever i am trying to build my application I get this on console output
Started by user anonymous
Building in workspace ...
Danedanegeld asked 14/1, 2016 at 9:26
6
Solved
I have a script to trigger a job on Jenkins remotely using a token. Here is my script:
JENKINS_URL='http://jenkins.myserver.com/jenkins'
JOB_NAME='job/utilities/job/my_job'
JOB_TOKEN='my_token'
c...
Deterioration asked 3/2, 2015 at 23:51
3
Solved
The scenario is - I have a job A which runs my ant script and packages the artifact's for me.
I am also using parametrized Triggered plug in to Trigger my "Job B" which will deploy my artifact on ...
Xanthous asked 29/11, 2014 at 2:46
4
I wan't to able to script and change number of executors on a node(not master) that already exists. Preferably by using groovy but if there is a plugin or CLI command that could do the trick that i...
Secessionist asked 15/2, 2016 at 9:28
3
Image of post build action step for "Publish HTML Reports plugin" in maven based project
After adding the plugin also I am getting http 404 error.
Is there anything required to write any shell s...
Alasdair asked 6/10, 2018 at 19:21
5
I want to use the parameters that we define in the Jenkins job as arguments to the shell commands in the same job.
I have created a parameterized build with the following parameters:
high.version...
Octachord asked 24/8, 2016 at 9:40
2
Hi I am using the CLI to transfer jobs between two jenkins servers.
But I am unable to get the CLI working..
When I run:
java -jar jenkins-cli.jar -s <myhost> -auth <myid>:<mysecre...
Camara asked 17/5, 2017 at 11:5
4
Solved
I have a job called "development" and another project called "code analysis". At the moment we have two different jobs and different workspaces, but same code; is there any way we could use the sam...
Densimeter asked 3/2, 2014 at 5:41
2
is there a way to call via code the GUI field "Repository URL" in order to use its value on my Jenkins pipeline?
Villain asked 21/6, 2019 at 14:50
4
Not able to restart Jenkins manually. Already tried all below ways:
http://localhost:8080/safeRestart
Error message: Jenkins cannot restart itself as currently configured.
Manage Jenkins → R...
Solicitor asked 25/5, 2017 at 7:19
3
I am creating a Jenkins master/slave cluster and I am having trouble finding a way to have new slaves auto register themselves with the master.
My current set up is I run some Terraform scripts th...
Mastin asked 22/2, 2018 at 16:34
3
Solved
I'm stuck with this problem and I have no idea to solve it.
I have written a Shell script which will invoke my job using Jenkins CLI by passing my private key.Jenkins version is 2.121.1
java -jar...
Enceinte asked 26/6, 2018 at 8:59
1
Solved
How to reload Jenkins configuration as code file from within groovy script? (Equivalent of clicking on "Reload existing configuration")
Malachi asked 19/2, 2019 at 16:35
1 Next >
© 2022 - 2025 — McMap. All rights reserved.