Jenkins community has provided the offical jenkins-cli.jar but it is
not intuitive to use it. So I just create a wrapper for it to make it more
easier to use. All you need is to
pip install jenkins-fire-cli
jenkins-fire-cli config set jenkins.url http://your-jenkins-site-url
jenkins-fire-cli
022 at 5:01:47 PM UTC-6 G Dameron wrote:
>
>> We just upgraded from 2.249.2 to 2.332.1. The CLI commands we use
>> routinely in our freestyle jobs are working as before, with one exception:
>> console. The command correctly outputs the console log of the specified
>> job
we cannot remain on sshd
3.0.3. Jenkins developers -- is a Jira ticket warranted for this?
On Wednesday, April 27, 2022 at 5:01:47 PM UTC-6 G Dameron wrote:
> We just upgraded from 2.249.2 to 2.332.1. The CLI commands we use
> routinely in our freestyle jobs are working as before, with on
We just upgraded from 2.249.2 to 2.332.1. The CLI commands we use routinely
in our freestyle jobs are working as before, with one exception: console.
The command correctly outputs the console log of the specified job, but
then never finishes, it just hangs.
Can anyone confirm that "co
Hi again,
Thanks for referring to the documentation. I have used with environment
variables, but I would like to implement it with the keyring method. Any
suggestions or I'll look into the above mail you have sent. Thank you again.
On Tuesday, February 22, 2022 at 8:26:56 PM UTC+5:30 dheinric
Am Dienstag, dem 22.02.2022 um 06:33 -0800 schrieb Bhargav sai:
While uploading the python package using twine, it's asking for credentials.
I also don't know Twine, so I checked its documentation. It says:
-u USERNAME, --username USERNAME
The username to authenticate to
Hi, Thanks for replying.
Actually, the keyring is a feature in Ubuntu, to store credentials for a
particular service or application. What I am trying to achieve here, is, I
have integrated the nexus artifact repository in Jenkins to upload the
PYthon package(tar.gz) into the nexus repo. While
Am Montag, dem 21.02.2022 um 22:18 -0800 schrieb Bhargav sai:
How to input the password to the build.
Don't know what exactly "keyring" is, but in order to inject credentials into a
build, you'd need to add them to Jenkins, first: "Manage Jenkins" -> "Manage
credentials". Then, in the job confi
Hi team,
I am working on Jenkins for a few days and a beginner question, I would
like to ask. How to input the password to the build. Suppose, I am working
on Keyring, and whenever, I set
"keyring set system user", prompts for the password. How can I input the
password while the build is going
Trying to do a basic cli command below
I am unable to do this since my Jenkins uses OKTA
Any advice or docs on how to do this? hours of googling has not been
successful
java -jar /home/jenkins/jenkins/jenkins-cli.jar -s
http:/// -auth
@/home/jenkins/jenkins/jenkins_credentials list
it happened to be an issue with the path, as jenkins uses its own path for
its user I have not declared the path for the right user
El miércoles, 7 de abril de 2021 a las 9:24:44 UTC+2, jesus fernandez
escribió:
> az is installed as it runs from the cmd, and it also runs if I start
> jenkins f
az is installed as it runs from the cmd, and it also runs if I start
jenkins from a non administrator prompt, it just do not work when starting
Jenkins from a admin prompt (which I need to)
El martes, 6 de abril de 2021 a las 21:22:06 UTC+2, Martin Schmude escribió:
> Maybe az has not been inst
Maybe az has not been installed on the system where the job is executed.
Or az is not part of the PATH variable in the context of the job execution.
Let the job execute "echo $env:path" before any "az ..." commands, so that
it prints out its path environment variable.
jesusfern...@gmail.com schri
I am trying to run some az commands from a Jenkins pipeline which (running
in Windows 10) I already used in my laptop´s Jenkins, but when trying to
use it on another computer (also running w10) I get this error :
```
11:12:47 powershell.exe : az : The term 'az' is not recognized as the name
of
ins.
Navigate to,
- Jenkins -> System Configurations -> Cloud
- Select the Credentials that we created in step 1 and click on Test
Connection
- You should receive Connection test successful message
But my pipeline is failing with error,
*ERROR: [kubernetes-cli] unsupported credent
Am Donnerstag, den 20.02.2020, 06:06 -0800 schrieb oneslide icywater:
sshd isn't running
How Can I solve it ?
I'm confused. Do you want to access Jenkins itself via SSH (Jenkins' internal
SSH server) or the Docker container in which Jenkins runs?
Bye...
Dirk
--
Dirk Heinrichs
Senior Systems
with https://jenkins.io/doc/book/managing/cli/ ,I successfully configure
jenkins to use its CLI by app token and user-password,but ssh failed.
I run my jenkins in docker in local testing vm。
docker container run --name jenkins-blueocean --rm --detach \
--network jenkins --env DOCKER_HOST=tcp
Hi All, I am new to jenkins and using Jenkins ver. 2.190.2 which is
installed in Azure Kubernetes version 1.14.6 . I am trying to export the
jenkins jobs using the command line using a simple script by passing the
job name.
Export_jobs()
{
mkdir JOB
while read -r i
do
java -jar jenkins-cli.jar
Hi ,
I downloaded jenkins CLI to my local machine and trying to export job from
jenkins but i am getting the below error . Anybody solved this issue
javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed
Thanks a lot your reply helped me a lot
I had to update nginx to have these settings
# Required for new HTTP-based CLI
proxy_http_version 1.1;
proxy_request_buffering off;
# workaround for https://issues.jenkins-ci.org/browse/JENKINS-45651
<https://wiki.jenkins.io/disp
When trying to build a job from Jenkins CLI with jenkins-cli.jar file, with
the command. This was working fine few days ago. Need help in resolving
this issue please as its blocking the complete automation pipeline.
*java -jar /root/jenkins-cli.jar -s https:/// -auth
username:authtoken build
Kozel
> *Sent: *10 January 2019 03:37
> *To: *Jenkins Users
> *Subject: *CLI command to start jenkins job with default and
> overridenparameters
>
>
>
> Hello,
>
> I am having trouble with combining default and overriden parameters when
> invoking jenkins
From: Vicki Kozel
Sent: 10 January 2019 03:37
To: Jenkins Users
Subject: CLI command to start jenkins job with default and overridenparameters
Hello,
I am having trouble with combining default and overriden parameters when
invoking jenkins jobs through remote CLI command.
It looks like the
Hello,
I am having trouble with combining default and overriden parameters when
invoking jenkins jobs through remote CLI command.
It looks like the following invocation passes command line parameters to a
job just fine, but ignores the default parameters:
curl -v https://jenkins/job/JobName
Hello ,
I can not connect to jenkins using these commands even if the option Enable
CLI over Remoting is activated in Configure Global Security:
1-java -jar jenkins-cli.jar -s jenkinsUrl help
2-java -jar jenkins-cli.jar -http -auth myusername:mypassword -s JenkinsUrl
get-job jobName
I am using jenkins 2.141 but I have had this problem since at least jenkins
2.122
I can create and delete jobs using the java cli
For example
wget http://jenkins/hnd/jnlpJars/jenkins-cli.jar -o
/var/tmp/jenkins-cli.log -O $HOME/bin/jenkins-cli.jar
java -jar $HOME/bin/jenkins-cli.jar -user
HI, i added "cf login... cf push ..." in the "Execute shell" section under
"Build" in the Jenkins config, and it pushed my code to my cloud
foundaries. this is good. My question is where is the CF CLI executable
located? I didn't do need to do con
domain -auth user:pass
>>> offline-node some-node
>>>
>>> The builds which were running will continue to run until finished
>>> (existing builds are not interrupted) - this is expected.
>>>
>>>
>>> 3) So my reasoning is that I need some
ll continue to run until finished
>> (existing builds are not interrupted) - this is expected.
>>
>>
>> 3) So my reasoning is that I need some kind of:
>>
>> java -jar jenkins-cli.jar -s https://jenkins.my-domain -auth user:pass
>> list-jobs some-view
>
howing the builds which are currently running (for a given view,
> or for a given node). Then parse it, and decide if the node is really
> offline (as in, not accepting any new builds, and not running any builds
> right now) or not.
>
>
> Unfortunately, I don't see such an o
ccepting any new builds, and not running any builds
right now) or not.
Unfortunately, I don't see such an option in https://jenkins.my-domain/cli/
On Friday, October 27, 2017 at 7:25:43 AM UTC+9, Devin Nusbaum wrote:
>
> Great, thanks for confirming! I’ll update the docs.
>
> Thanks,
>
proxy_redirect http:// https://;
> proxy_pass http://jenkins <http://jenkins/>;
>
> # Required for new HTTP-based CLI
> proxy_http_version 1.1;
> proxy_request_buffering off;
> proxy_buffering off;
>
&g
p:// https://;
proxy_pass http://jenkins;
# Required for new HTTP-based CLI
proxy_http_version 1.1;
proxy_request_buffering off;
proxy_buffering off;
# workaround for
https://issues.jenkins-ci.org/browse/JEN
forwarded_for;
> proxy_set_headerX-Forwarded-Proto $scheme;
> proxy_redirect http:// https://;
> proxy_pass http://jenkins <http://jenkins/>;
> # Required for new HTTP-based CLI
>
warded_for;
proxy_set_headerX-Forwarded-Proto $scheme;
proxy_redirect http:// https://;
proxy_pass http://jenkins;
# Required for new HTTP-based CLI
proxy_http_version 1.1;
proxy_request_buf
r your version of Jenkins. (If your Jenkins logs at the time you try to
connect via CLI have errors that say something to the effect of “Full-duplex
channel timeout” then I expect those settings to fix it.)
> On Oct 26, 2017, at 5:18 PM, 'Tomasz Chmielewski' via Jenkins Users
&g
r [26/Oct/2017:21:11:52 +] "GET
/crumbIssuer/api/xml/?xpath=concat(//crumbRequestField,\x22:\x22,//crumb)
HTTP/1.1" 404 335 "-" "Java/1.8.0_131"
10.11.0.8 - user [26/Oct/2017:21:12:07 +] "POST /cli?remoting=false
HTTP/1.1" 200 11 "-" &qu
Got it, thanks:
https://wiki.jenkins.io/display/JENKINS/Jenkins+CLI
On Friday, October 27, 2017 at 5:57:18 AM UTC+9, Robert Hales wrote:
>
> You have to use the Jenkins CLI. I guess that can be a bit confusing. It
> isn't a script available to run at the command line. Jenkins
You have to use the Jenkins CLI. I guess that can be a bit confusing. It
isn't a script available to run at the command line. Jenkins has their own
CLI. If you google for it, you will find the details pretty easily.
On Thursday, October 26, 2017 at 2:55:07 PM UTC-6, Tomasz Chmielewski
2.73.2 (...)
On Friday, October 27, 2017 at 12:21:17 AM UTC+9, Robert Hales wrote:
>
> In the CLI, use the 'offline-node' command. Another useful command in what
> it looks like you want to do might be "wait-offline-node".
>
> You could also create a
In the CLI, use the 'offline-node' command. Another useful command in what
it looks like you want to do might be "wait-offline-node".
You could also create a groovy script to do it and run that from the REST
API.
On Thursday, October 26, 2017 at 3:35:29 AM UTC-6, Toma
Is there a CLI/scripted way to stop scheduling any new builds on a given
node?
Basically, any builds currently running on a given node should continue to
run until they are finished -- and no new builds should be started.
Think of "retiring" a node, and replacing it with a new
> On 4. Oct 2017, at 22:37, Richard Ginga wrote:
>
> nothing in my nginx configuration indicates any buffering explicitly one way
> or the other.
Time to re-read the first snippet in
https://wiki.jenkins.io/display/JENKINS/Jenkins+behind+an+NGinX+reverse+proxy
--
You received this message
Hi, we see Jenkins cli jar gave hava exception error on new LTS version, is
that known issue?
Thanks
C
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
Am 04.10.2017 um 22:37 schrieb Richard Ginga:
Hi Michael, thanks for the response, nothing in my nginx configuration
indicates any buffering explicitly one way or the other.
Richard, just in case you are using any kind of anti-virus software on
the machine executing the CLI commands, it
Jenkins 1.638 to 2.81 CLI I need to switch to http
protocol but it doesn't work (SSH protocol seems to work after the
upgrade).
No matter which CLI command I use, after a few seconds the call returns
but shows no result. E.g.
java -jar jenkins-cli.jar -s http://10.0.3.108 -logger FINE help
called
erver and
> without reaching it through your reverse proxy, does it work ?
> I'm wondering if it's not related to the configuration of your reverse
> proxy. As described in this documentation
> <https://jenkins.io/doc/book/managing/cli/#http-connection-mode>, you
> need
If you run this very same command directly on the Jenkins server and
without reaching it through your reverse proxy, does it work ?
I'm wondering if it's not related to the configuration of your reverse
proxy. As described in this documentation
<https://jenkins.io/doc/book/manag
On Wed, Oct 4, 2017 at 10:08 AM, Richard Ginga
wrote:
> I see a thread happening on CLI issues. I have a different question/issue
> and do not want to hijack that other discussion.
>
> when running any cli in a pipeline script I an getting below but the
> command works
>
context path just http://YOUR_HOST/jnlpJars/jenkins-cli.jar).
The jenkins-cli.jar is the one from the 2.81 server instance. I
downloaded it from the link you mentioned. The MANIFEST.MF of this jar
says, it's Jenkins-CLI 2.81.
And I do not see exceptions in /var/lib/jenkins/jenkins.log aroun
I see a thread happening on CLI issues. I have a different question/issue
and do not want to hijack that other discussion.
when running any cli in a pipeline script I an getting below but the
command works
*00:04:11.368* + java -jar /Users/jenkins/Downloads/jenkins-cli.jar
-noKeyAuth -s https
-cli.jar).
> On Oct 4, 2017, at 7:50 AM, Riccardo Foschia
> wrote:
>
> Hi all,
>
> after an upgrade of Jenkins 1.638 to 2.81 CLI I need to switch to http
> protocol but it doesn't work (SSH protocol seems to work after the upgrade).
>
> No matter which CLI comman
Am 04.10.2017 um 14:53 schrieb Daniel Beck:
On 4. Oct 2017, at 14:29, Riccardo Foschia
wrote:
Thanks for your answer, but there is no proxy running.
What security realm are you using?
We are using LDAP and project based matrix authorization (like before
upgrading).
In the old Jenki
> On 4. Oct 2017, at 14:29, Riccardo Foschia
> wrote:
>
> Thanks for your answer, but there is no proxy running.
What security realm are you using?
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop rec
Am 04.10.2017 um 14:00 schrieb Daniel Beck:
On 4. Oct 2017, at 13:50, Riccardo Foschia
wrote:
after an upgrade of Jenkins 1.638 to 2.81 CLI I need to switch to http protocol
but it doesn't work (SSH protocol seems to work after the upgrade).
No matter which CLI command I use, after
> On 4. Oct 2017, at 13:50, Riccardo Foschia
> wrote:
>
> after an upgrade of Jenkins 1.638 to 2.81 CLI I need to switch to http
> protocol but it doesn't work (SSH protocol seems to work after the upgrade).
>
> No matter which CLI command I use, after a few se
Hi all,
after an upgrade of Jenkins 1.638 to 2.81 CLI I need to switch to http
protocol but it doesn't work (SSH protocol seems to work after the
upgrade).
No matter which CLI command I use, after a few seconds the call returns
but shows no result. E.g.
java -jar jenkins-cli.jar -s
I am running jobs from a remote server on Jenkins which uses Bull Builder
to run jobs. I am running jobs using the following command.
curl -u username:password -X POST http://localhost:8080/bulkbuilder/build
-d action=immediate_build -d build=all -d pattern=*foo*
But I would also like to
Is there a way to pinpoint the thread which holds CLOSE_WAIT connection?
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jenkinsci-users+unsubscr...@googlegrou
Hello,
I'm using Jenkins 1.642.1 and since 2 weeks I'm seeing recurring problems
with Jenkins CLI client.
Precisely the problem is with CLI client not able to correctly establish
connection with Jenkins master and get an response. It looks like the
connection hangs.
Checking connec
Hi
I want to use the Jenkins declarative script linter via the CLI.
I have specified a fixed SSHD port in Jenkins Global Security.
I have shared my SSH public key with my account on the Jenkins server, so I can
connect to the server using SSH.
However, when I try to run the linter I get an
Hi,
I am trying to delete the old build from cli using the command
java -jar jenkins-cli.jar -s http://example.com:8080 delete-builds
myproject '25-26' --username $user --password $pwd
but getting these errors :
java.io.StreamCorruptedException: invalid stream header: 0A0A0A0A
oops, didn't realize I posted on a 3yr old thread.
On Wednesday, July 2, 2014 at 1:48:35 PM UTC-5, Mike Craig wrote:
>
> Hello,
>
> I am using the Jenkins CLI to pull down a list of 'template' jobs, search
> and replace for our release version, then "create&
off.
On Wednesday, July 2, 2014 at 1:48:35 PM UTC-5, Mike Craig wrote:
>
> Hello,
>
> I am using the Jenkins CLI to pull down a list of 'template' jobs, search
> and replace for our release version, then "create" a job using the job XML
> which I have pulled f
Hi Guys,
I am provisioning a server with Jenkins using Chef cookbook
at https://supermarket.chef.io/cookbooks/jenkins
On startup I see the following error which I can resolve using the UI. Is
there a CLI command to do the resolve plugin dependency errors and
restarting jenkins?
TIA.
There
After some more tests it looks like the problem affects pipeline jobs but
not freestyle jobs.
I guess this is a bug so have raised a jira
https://issues.jenkins-ci.org/browse/JENKINS-41085
On Wednesday, 11 January 2017 09:59:46 UTC, Joe wrote:
>
>
> Hi all,
>
> I want to run some scripts exter
Hi all,
I want to run some scripts externally that require that all jobs are
stopped.
I expected the following command to stop new jobs being started, and only
return once all the jobs in the queue have finished (or reached the end of
a stage for pipeline and paused):
java -jar jenkins-cli.ja
eased any day now).
>
> > On 30.10.2016, at 03:48, red 888 >
> wrote:
> >
> > Running Server 2012 R2, Jenkins ver. 2.19.1
> >
> >
> >
> > Installed Jenkins via the Windows MSI
> >
> >
> >
> > I can't
>
>
> I can't seem to install plugins with the cli:
>
> & 'C:\Program Files (x86)\Jenkins\jre\bin\java.exe' -jar 'C:\Program Files
> (x86)\Jenkins\war\WEB-INF\jenkins-cli.jar' -s 'http://localhost:8080/'
> install-plugi
Running Server 2012 R2, Jenkins ver. 2.19.1
Installed Jenkins via the Windows MSI
I can't seem to install plugins with the cli:
& 'C:\Program Files (x86)\Jenkins\jre\bin\java.exe' -jar 'C:\Program Files
(x86)\Jenkins\war\WEB-INF\jenkins-cli.jar' -s 'http:
Specify a URL or local path to a file.
The update site doesn't have metadata for arbitrary versions, so you need to
provide enough information.
> On 23.09.2016, at 16:31, user_dev wrote:
>
> I am trying to install jenkins plugin with jenkins-cli , it works if
>
> ja
I am trying to install jenkins plugin with jenkins-cli , it works if
java -jar /opt/jenkins/jenkins-cli.jar -s http://localhost:8080 install-plugin
git but fails for
java -jar /opt/jenkins/jenkins-cli.jar -s http://localhost:8080 install-plugin
git 2.53. Reading to the docs it says that
That was it. I'm using an automated install of jenkins and it was
installing a groovy script where you described. Remaned the script,
restarted the service and I can now get to the CLI from the dashboard.
Thanks!
On Friday, September 16, 2016 at 10:12:25 PM UTC-4, Daniel Beck wrote:
>
Make sure you don't have an init.groovy[.d] in JENKINS_HOME that disables the
CLI; we recommended doing that last November as workaround for a 0-day
vulnerability.
> On 16.09.2016, at 11:50, Bob Hansen wrote:
>
> Been trying use the jenkins cli to programmatically set buil
Been trying use the jenkins cli to programmatically set builds to unstable
from failed based on conditions that I will find in various log files
related to the project I'm working on.
One of the recommendations is to use the jenkkns_cli to set it via the
jenkins_cli, however if I do
Hi,
check if you have enabled TCP port for JNLP agents (in Configure Global
Security)
On Wednesday, September 14, 2016 at 3:21:14 PM UTC+2, Irusappan
PaneerSelvam wrote:
>
> Dear All,
>
> I'm trying to invoke Jenkins hosted on AWS machine using Jenkins-cli.jar.
> Both
Dear All,
I'm trying to invoke Jenkins hosted on AWS machine using Jenkins-cli.jar.
Both Jenkins and CLI jar version same ( 2.7.3)
Below is the command used to invoke jenkins using CMD
java -jar jenkins-cli.jar -s
http://ec2-54-186-237-233.us-west-2.compute.amazonaws.com:8080
the way you load the XML is by pipeing it into the command. e.g.:
cat test.xml | java -jar jenkins-cli.jar -s http://localhost:9080/jenkins/
update-credentials-by-xml
"SystemCredentialsProvider::SystemContextResolver::jenkins" "(global)"
MYTEST
it would be nice if the documentation would give h
build-pipeline-plugin:1.5.4
pipeline-input-step:2.1
branch-api:1.10
workflow-durable-task-step:2.4
> Hi , I need to check what are plugins installed on a specific jenkins
> server. I tried to use cli but it needs jnlp port which I cannot configure
> as i donot have permission. Is there
Hi , I need to check what are plugins installed on a specific jenkins
server. I tried to use cli but it needs jnlp port which I cannot configure
as i donot have permission. Is there a way I can find out this information.
I checked config.xml but it do not mentions the list of plugins.
--
You
ght not be relevant in your
case)
Hope this helps some.
On Saturday, August 6, 2016 at 12:32:22 AM UTC-7, Vishwanath V wrote:
>
> Hi all,
>
> I need to *automatedly* load sets of credentials to a Jenkins instance,
> so that my jobs can pick up these credentials.
>
> Fo
Hi all,
I need to *automatedly* load sets of credentials to a Jenkins instance, so
that my jobs can pick up these credentials.
For this purpose I am using the Jenkins CLI, specifically the set of
commands provided by the Credentials Provider plugin:
create-credentials-by-xml
Create
> On 04.08.2016, at 22:09, James Richard wrote:
>
> This is a plugin that I have created, it is not bundled with Jenkins. And
> like I said, manually installing it, downgrading, uninstalling, etc. works
> fine when they are done manually but when using the Jenkins CLI it has
This is a plugin that I have created, it is not bundled with Jenkins. And
like I said, manually installing it, downgrading, uninstalling, etc. works
fine when they are done manually but when using the Jenkins CLI it has the
errors I described in the first comment.
When installing a plugin
fic version without trouble. There
> is only an issue when I use the Jenkins CLI
>
> Is that plugin bundled with Jenkins? If so, could be
> https://issues.jenkins-ci.org/browse/JENKINS-29726
>
>
> --
> You received this message because you are subscribed to the Google Groups
>
> On 28.07.2016, at 01:36, James Richard wrote:
>
> Manually uploading the files to the server works fine, I can
> upgrade/downgrade and install any specific version without trouble. There is
> only an issue when I use the Jenkins CLI
Is that plugin bundled with Jenkins?
Manually uploading the files to the server works fine, I can
upgrade/downgrade and install any specific version without trouble. There
is only an issue when I use the Jenkins CLI
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To u
Using Jenkins 1.642.4, I installed an older version of my plugin from a
local hpi using the Jenkins CLI and did a safe restart. When I try to
install a newer version from a local hpi using the Jenkins
CLI, http://localhost:8080/pluginManager/installed still shows the older
version is
I am running a Jenkins server on Windows server with AWS CLI installed.
while trying to run a script through Jenkins job i get the following error:
"You must specify a region. You can also configure your region by running
"aws configure"."
AWS cli is configured (running
template's config.xml, replaces the
placeholders with the concrete parameters and sends the resulting string
via the Jenkins CLI to creates a new job.
Now the problem: Some of those job templates contain timer triggers (e.g.
'H H(4-5) * * *' to start every night between 4 and 5). Jo
7;m using my own login and password. Do I have to run the command in the
> same directory as the build jobs ?
>
> On Thursday, February 25, 2016 at 12:29:23 PM UTC-6, James Nord wrote:
>>
>>
>> On Wednesday, February 24, 2016 at 4:21:36 PM UTC, Hector Magnanao wrote:
&
x27;m trying to use the Jenkins CLI in Windows by issuing the command: java
>> -jar Jenkins-cli -s build 'test'
>> and it keeps returning an error saying no such job ''test''
>>
>>
> My guess would be not specifying any credentials and a
On Wednesday, February 24, 2016 at 4:21:36 PM UTC, Hector Magnanao wrote:
>
> I'm trying to use the Jenkins CLI in Windows by issuing the command: java
> -jar Jenkins-cli -s build 'test'
> and it keeps returning an error saying no such job ''test'
I'm trying to use the Jenkins CLI in Windows by issuing the command: java
-jar Jenkins-cli -s build 'test'
and it keeps returning an error saying no such job ''test''
I know that the job exists so can someone tell me what I could be doing
wrong ?
--
You re
Hi Ramón,
I have tried with one example.
Let´s assume that we have a job "testtest" inside a first level
"job_folder_test" folder and inside a second level "sub_folder_item name"
folder. Please, notice that the name of this folder has a space.
I used the following command to delete the jobs 1 a
I have Jenkins setup with the Bitbucket OAuth plugin for security.
I'm using SaltStack to setup Jenkins
<https://github.com/saltstack-formulas/jenkins-formula>, which uses the
Jenkins CLI jar to interface with Jenkins. Obviously when Jenkins has zero
security this works jst fin
Hi,
I ran into a problem trying to use jenkins-cli with Atlassian Crowd
authentification (using the crowd2 plugin.
As soon as I set the security realm (using a Groovy script from a Chef
recipe), Jenkins throws tons of like this:
Jan 07, 2016 1:50:46 PM hudson.TcpSlaveAgentListener
t /reuse/ip /main/LATEST*
*> element /reuse/ip/file.txt /main/LATEST'*
Then, test it out using echo with double quotes around the variable as:
*echo "$mycs"*
Once formatted as wanted, simply pass in the variable to the Jenkins CLI to
be used on the other side like this:
*java -j
xpecting the "\n" to have been expanded, but, it wasn't ;(
How else can I get multiple lines trough the CLI interface?
Thanks in advance for your help!
Denis
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscrib
I used cloudbees for a bit with multiple on premise executors. To connect
the nodes we added the ssh key to our cloudbees account and then ran the
following command from the node machine:
java -jar jenkins-cli.jar -s https://test1234.ci.cloudbees.com
on-premise-executor -fsroot /usr/share/jenkin
1 - 100 of 262 matches
Mail list logo