vid
> -Original Message-
> From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-
> us...@googlegroups.com] On Behalf Of Daniel Beck
> Sent: 20 April 2016 11:03
> To: jenkinsci-users@googlegroups.com
> Subject: Re: How to 'Discard old builds' without ru
> On 20.04.2016, at 09:40, David Aldrich wrote:
>
> Thanks for your reply. Could you please give me a pointer how to use SSH key
> based authentication? I'm running the CLI on the Jenkins master - it is
> accessing localhost.
https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI#JenkinsCLI-
You have to add public key at user profile page
http://jenkins.example.net:8080/user/user_name/configure
On Wednesday, April 20, 2016 at 10:40:23 AM UTC+3, David Aldrich wrote:
>
> Hi Daniel
>
> > Use SSH key based authentication. Known bug with passwords when anon
> does
> > not have read acc
Hi Daniel
> Use SSH key based authentication. Known bug with passwords when anon does
> not have read access to the job.
Thanks for your reply. Could you please give me a pointer how to use SSH key
based authentication? I'm running the CLI on the Jenkins master - it is
accessing localhost.
Bes
> On 20.04.2016, at 08:23, Alex Domoradov wrote:
>
> Hmm, but he had used "--username=daldrich"
That's my point. It doesn't work like it should.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receivi
Hmm, but he had used "--username=daldrich"
On Tuesday, April 19, 2016 at 11:47:32 PM UTC+3, Daniel Beck wrote:
>
>
> > On 19.04.2016, at 17:06, David Aldrich > wrote:
> >
> > Any idea why please?
>
> Use SSH key based authentication. Known bug with passwords when anon does
> not have read acc
> On 19.04.2016, at 17:06, David Aldrich wrote:
>
> Any idea why please?
Use SSH key based authentication. Known bug with passwords when anon does not
have read access to the job.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscr
Got the same result:
ERROR: No such job 'test'
From: Alex Domoradov [mailto:alex@gmail.com]
Sent: 19 April 2016 17:14
To: Jenkins Users
Cc: alex@gmail.com; David Aldrich
Subject: Re: How to 'Discard old builds' without running job?
Just for test - rename the jo
Users >
> *Cc:* alex...@gmail.com ; David Aldrich <
> david@emea.nec.com >
> *Subject:* Re: How to 'Discard old builds' without running job?
>
>
>
> It's a really strange. What version of jenkins are you using?
>
> On Tuesday, April 19, 2016 at 6
1.656
From: Alex Domoradov [mailto:alex@gmail.com]
Sent: 19 April 2016 17:11
To: Jenkins Users
Cc: alex@gmail.com; David Aldrich
Subject: Re: How to 'Discard old builds' without running job?
It's a really strange. What version of jenkins are you using?
On Tuesday, Apri
job 'Check_svn_config'
>
>
>
> I do have a job called 'Check_svn_config'. It’s in a certain folder. Do I
> have to specify a path for it?
>
>
>
> Best regards
>
>
>
> David
>
>
>
> *From:* Alex Domoradov [mailto:alex
com; David Aldrich
Subject: Re: How to 'Discard old builds' without running job?
You can get a list of jobs with the following command
# java -jar jenkins-cli.jar -s http://localhost:8090/ list-jobs
Hi Alex
Thanks for your reply.
$ java -jar /var/lib/jenkins/war/WEB-INF/jenkins-cli.jar
;
> David
>
>
>
> *From:* Alex Domoradov [mailto:alex...@gmail.com ]
> *Sent:* 19 April 2016 14:48
> *To:* Jenkins Users >
> *Cc:* David Aldrich >
> *Subject:* Re: How to 'Discard old builds' without running job?
>
>
>
> You can use je
I have
to specify a path for it?
Best regards
David
From: Alex Domoradov [mailto:alex@gmail.com]
Sent: 19 April 2016 14:48
To: Jenkins Users
Cc: David Aldrich
Subject: Re: How to 'Discard old builds' without running job?
You can use jenkins cli
java -jar jenkins-cli.jar -s h
You can use jenkins cli
java -jar jenkins-cli.jar -s http://jenkins.example.net:8080/ delete-builds
LARGE_JOB BUILD_NUMBER
for e.g.
java -jar jenkins-cli.jar -s http://jenkins.example.net:8080/ delete-builds
test-job 10-20
On Tuesday, April 19, 2016 at 1:23:23 PM UTC+3, David Aldrich wrote:
>
Hi
We have a large job that has no 'Discard old builds' setting.
I want to set 'Discard old builds' to a sensible value and action it, to delete
some old builds, without actually running the job. Is that possible?
Best regards
David
--
You received this message because you are subscribed to
16 matches
Mail list logo