Skip to content

401.vdec46839d6b_8

Compare
Choose a tag to compare
@github-actions github-actions released this 06 Sep 12:45
· 143 commits to refs/heads/master since this release
dec4683

💥 Major Changes 💥

This release changes the syntax for configuring permissions with Job DSL, and Pipeline plugins (#472)

Warning

This is a breaking change for anyone currently configuring matrix authorization using these plugins.

The permissions list has been replaced with the entries list and a more elaborate element syntax decoupled from the serialized XML configuration format. See examples below for the new syntax.

Job DSL

folder('generated') {
  properties {
    azureAdAuthorizationMatrix {
      inheritanceStrategy {
          nonInheriting()
      }
      entries {
        group {
          name('A group (7fe913e8-6c9f-40f8-913e-7178b7768cc5)')
          permissions([
            'Job/Build',
            'Job/Configure',
            'Job/Read'
          ])}
        user {
          name('c411116f-cfa6-472c-8ccf-d0cb6053c9aa')
          permissions(['Job/Delete'])
        }
      }
    }
  }
}

Pipeline

properties([
  azureAdAuthorizationMatrix([
    user(name: 'c411116f-cfa6-472c-8ccf-d0cb6053c9aa', permissions: ['Job/Delete']),
    group(name: 'A group (7fe913e8-6c9f-40f8-913e-7178b7768cc5)', permissions: [
      'Job/Build',
      'Job/Configure',
      'Job/Read'
    ])
  ])
])

👻 Maintenance

📦 Dependency updates

  • Update dependency com.microsoft.graph:microsoft-graph to v5.69.0 (#469) @renovate
  • Update dependency com.puppycrawl.tools:checkstyle to v10.12.3 (#468) @renovate