No permission to build from another jenkins project

I would like to use another project to promote my collections. I use this plugin https://wiki.jenkins-ci.org/display/JENKINS/Promoted+Builds+Plugin

But I have the following error message when I link the project

error message

It works, but not quite right. Advertising Magazines:

Started by user admin
Building in workspace /var/lib/jenkins/workspace/generator-api
Promoting generator-api #86
build hudson.plugins.parameterizedtrigger.BuildTrigger@36339454 SUCCESS
Warning: this build has no associated authentication, so build permissions may be lacking, and downstream projects which cannot even be seen by an anonymous user will be silently skipped
Finished: SUCCESS

I also need to create a deployment design.

I can not find how to allow my project to create a deployment while moving forward.

+4
source share
1 answer

From what I see, the downstream project should have the Run as User who Triggered Buildoptions selected in the section Configure Build Authorization.

. , . Jenkins:
https://wiki.jenkins-ci.org/display/JENKINS/Authorize+Project+plugin


-. :

git tag -d DEVENV
git tag DEVENV ${PROMOTED_GIT_COMMIT}
git push origin --tags —force

, , script , .

, auth .

0

All Articles