For deployment on production we use a 4-eyes principle. We use the jobStrongAuthSimple plugin as a build step (in a conditional step, only applicable if environment is production).
For normal single job deployments this works. The job status goes to NOT_BUILD. We rebuild the job (with rebuild plugin), using same parameters and the job finishes.
I want to make a pipeline of dependent jobs, to be run after each other, some parallel. The status for the job goes to FAILED (in stead of NOT_BUILD), and the pipeline stops.
Console output
In Single Job:
stop build. number of authed people does not satisfy. Caused by 'StrongAuthSimple for Job' Build step 'StrongAuthSimple for Job' changed build result to NOT_BUILT. Build step 'StrongAuthSimple for Job' makred buils as failure. (....) Finished: NOT_BUILT.
In Pipeline:
internal error. getCauseFromRun Failed. Causes by 'StrongAuthSimple for Job''. Build step 'StrongAuthSimple for Job' changed build result to FAILURE. Build step 'StrongAuthSimple for Job' makred buils as failure. (....) Finished: FAILURE.
Is this due to pipeline not supporting this plugin? Is there a way to fix this, or another way to have the 4-eyes principle when deploying pipelines?
[{"id":-1,"name":"My open issues","jql":"assignee = currentUser() AND resolution = Unresolved order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-2,"name":"Reported by me","jql":"reporter = currentUser() order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-4,"name":"All issues","jql":"order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-5,"name":"Open issues","jql":"resolution = Unresolved order by priority DESC,updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-9,"name":"Done issues","jql":"statusCategory = Done order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-3,"name":"Viewed recently","jql":"issuekey in issueHistory() order by lastViewed DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-6,"name":"Created recently","jql":"created >= -1w order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-7,"name":"Resolved recently","jql":"resolutiondate >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-8,"name":"Updated recently","jql":"updated >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false}]