aws-samples / serverless-jenkins-on-aws-fargate

MIT No Attribution
123 stars 111 forks source link

java.lang.IllegalArgumentException: Permission can not be null for sid:authenticated #16

Closed sravanikollipara closed 2 years ago

sravanikollipara commented 2 years ago

Post provisioning the terraform and I see below errors on Jenkins console.

I have used same configuration as it is for plugins and jenkins.yaml.tpl

Screen Shot 2021-09-21 at 11 47 05 AM
arawak-consulting commented 2 years ago

I have the same issue ; how to resolve ? image

apogorielov commented 2 years ago

Hi @sravanikollipara @arawak-consulting, let me take a look into it for your.

For now, one option to try would be to change few lines in this file: https://github.com/aws-samples/serverless-jenkins-on-aws-fargate/blob/main/modules/jenkins_platform/docker/files/jenkins.yaml.tpl#L17

from

                - "Overall/Read:authenticated"
                - "Job/Read:authenticated"
                - "View/Read:authenticated"

to

                - "Overall/Read:anonymous"
                - "Job/Read:anonymous"
                - "View/Read:anonymous"

Kind regards, Alex

apogorielov commented 2 years ago

Unfortunately I was not able to reproduce this issue in #21 therefor closing this. Please feel free to re-open with details step to reproduce this issue.