Skip to content

[JENKINS-66211] jenkins pipeline jobs running outside groovy sandbox #231

Description

@jenkins-infra-bot

Hi Team,

I want to restrict users to run their jobs in groovy sandbox only.

In pipeline job if I unchecked Use Groovy Sandbox  then job should not run
it should come for approval to jenkins administrator.

but currently it is happening reverse way.

I*f Use Groovy Sandbox is checked : It is asking for approval of jenkins administator*
If Use Groovy Sandbox is uncheck : Pipeline job is getting executing.

can you please help the same.

jenkins version : 2.263.1


Originally reported by nq00155492, imported from: jenkins pipeline jobs running outside groovy sandbox
  • assignee: vjuranek
  • status: Open
  • priority: Minor
  • component(s): groovy-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 20260604-161841
Raw content of original issue

Hi Team,

I want to restrict users to run their jobs in groovy sandbox only.

In pipeline job if I unchecked Use Groovy Sandbox  then job should not run it should come for approval to jenkins administrator.

but currently it is happening reverse way.

I*f Use Groovy Sandbox is checked : It is asking for approval of jenkins administator* If Use Groovy Sandbox is uncheck : Pipeline job is getting executing.

can you please help the same.

jenkins version : 2.263.1

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions