Hello,
i have added Environment-Variables on Account Level and on the Repository Level. One Command of my pipeline is this:
- curl -X PUT -d 'data={"keys":{"android":{"id":"$PHONEGAP_ANDROID_CERT_ID","key_pw":"$PHONEGAP_ANDROID_KEY_PASSWORD","keystore_pw":"$PHONEGAP_ANDROID_KEYSTORE_PASSWORD"},"ios":{"id":"$PHONEGAP_IOS_CERT_ID","password":"$PHONEGAP_IOS_CERT_PASSWORD"}}}' https://build.phonegap.com/api/v1/apps/$PHONEGAP_APP_ID?auth_token=$PHONEGAP_AUTH_TOKEN
As you can see there are multiple environment variables that should be injected to the JSON payload. But unfortunately this isn't working for me. What i am doing wrong?
Response from the PhoneGap Build Server after this request was sent:
{"error":"android key $PHONEGAP_ANDROID_CERT_ID not found (maybe wrong platform?)"}
This is the also first parameter from the Payload which hints that there is a general problem in this command with resolving the variables.