Hello Kritika, you were right, I had a typo of the pipeline group name in the rules of the secret config. But correcting this did not solve the error message. But I tried to execute the pipeline and it worked. The git repository was checked out on the agents. It seems that this is only a bug of the "Verify connection" function.
Regards, Helge Am Donnerstag, 16. Juli 2020 11:47:22 UTC+2 schrieb Kritika Singh: > > Hello Helge, > > All the steps you have taken are correct. This seems like a bug in GoCD. I > would suggest opening an issue here <https://github.com/gocd/gocd/issues> > . > > Before that can you verify that the secret config can be accessed by the > pipeline group/environment you are currently trying this out with. For this > you would need to check the 'rules' section for the secret config. > > Thanks > Kritika > > On Thursday, July 16, 2020 at 3:04:23 PM UTC+5:30 [email protected] > wrote: > >> I did create the placeholder the wrong way. It seems that the following >> one is better: >> {{SECRET:[gocd-ops][GITHUB_API_TOKEN]}} >> But now ... If I try to verify the connection I get the following error: >> >> SecretParam 'GITHUB_API_TOKEN' is used before it is resolved. >> >> >> I verified the plugin configuration and the secret DB file but this seems >> to be correct. >> >> What's wrong now? >> >> Regards, >> Helge >> > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/ef171bc0-df9b-49d4-84b2-af309b55e6a6o%40googlegroups.com.
