Hi Enrico,

On Sat, Aug 15, 2020 at 8:31 AM Enrico Olivelli <[email protected]> wrote:

> Gavin,
> thank you.
>
> Now I have this second problem, it looks like that in the new Jenkins
> every Jenkins DSL script must be approved.
> see
> https://ci-hadoop.apache.org/job/BookKeeper/job/bookkeeper-seed/3/console
>
> I am not sure how can we make it work, the help reads "New or modified
> scripts must either be approved by an Jenkins administrator before they can
> be used or they must be run in the restricted sandbox."
>

I have approved all scripts waiting, please try again.


>
> > git config core.sparsecheckout # timeout=10
>  > git checkout -f 7645cb839761b9dde6462c28a87a0d1c428bf5fa # timeout=10
> Commit message: "Bookie Client add quarantine ratio when error count exceed 
> threshold"
>  > git rev-list --no-walk 7645cb839761b9dde6462c28a87a0d1c428bf5fa # 
> timeout=10
> Processing DSL script .test-infra/jenkins/job_bookkeeper_codecoverage.groovy
> ERROR: script not yet approved for use
> Finished: FAILURE
>
>
> If I enable the "Groovy sandbox", then I see this second error
>
> Commit message: "Bookie Client add quarantine ratio when error count exceed 
> threshold"
>  > git rev-list --no-walk 7645cb839761b9dde6462c28a87a0d1c428bf5fa # 
> timeout=10
>
> ERROR: You must configure the DSL job to run as a specific user in order to 
> use the Groovy sandbox.
> Finished: FAILURE
>
>
> Thank you
>
> Enrico
>
> Il giorno ven 14 ago 2020 alle ore 20:57 Gavin McDonald <
> [email protected]> ha scritto:
>
>> Hi Enrico!
>>
>> On Fri, Aug 14, 2020 at 8:41 PM Enrico Olivelli <[email protected]>
>> wrote:
>>
>> > Hi,
>> > I am migrating Bookkeeper jobs and it looks like there is no 'Process
>> DSL
>> > actin'
>> >
>> > We have a seed job that creates all of the other jobs
>> >
>> > I have already created the new seed but actually it is useless.
>> >
>> > Any idea?
>> >
>>
>> Right, so a part of this migration process involves finding out what
>> plugins might be
>> needed for Jobs, and installing them as we come across them.
>>
>> I just installed the Job DSL plugin and your Process DSL option should now
>> be available for you.
>>
>> Let me know how you get on
>>
>>
>> > Enrico
>> >
>>
>>
>> --
>>
>> *Gavin McDonald*
>> Systems Administrator
>> ASF Infrastructure Team
>>
>

-- 

*Gavin McDonald*
Systems Administrator
ASF Infrastructure Team

Reply via email to