Bad Substitution in nested variables

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

atlassian-bamboo.log に次のメッセージが表示される。

DD-MMM-YYYY hh:ii:ss
<bamboo-install>/temp/MP-HP-JOB1-2-ScriptBuildTask-2305625869057087111.sh: line 2: ${bamboo.Integer}: bad substitution

原因

If you create a variable named as myInteger and assign 123 to it, by calling the variable myInteger (e.g: ${bamboo.myInteger}) the same will return within the value 123 as expected.

On the other hand, if you create a second variable named as mySecond and assign ${bamboo.myInteger} to it, by calling the variable mySecond (e.g.: ${bamboo.mySecond}) the same will throw an exception.

ソリューション

This will happen because Bamboo variables does not provide double dereferencing.

We have a improvement request to provide this functionality in future releases:

BAM-8266 - Getting issue details... STATUS

Last modified on Mar 30, 2016

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.