exists on ManualBuildTriggerReason.userName false, even if set

Issue #11 resolved
Maximilian Braun | virtual7 GmbH created an issue

Hi,

i have a job with a conditional task on variables, which checks existance of ManualBuildTriggerReason.userName. Unfortunately i haven't get this to work. With other variables it works…

Config:

Dumping variables to log:

simple  14-Jan-2020 12:22:46    Starting task 'dump variables' of type 'com.atlassian.bamboo.plugins.bamboo-variable-inject-plugin:dump'
simple  14-Jan-2020 12:22:46    ---- DUMPING VARIABLES TO LOG --- 
simple  14-Jan-2020 12:22:46    key: [ManualBuildTriggerReason.userName] value: [admbraun] type: CUSTOM

Executing env in a shell task:

build   14-Jan-2020 12:22:46    bamboo_ManualBuildTriggerReason_userName=admbraun

Conditional Task:

simple  14-Jan-2020 12:22:46    Condition com.atlassian.bamboo.plugins.bamboo-conditional-tasks:variableCondition wasn't met. Skipping task.
simple  14-Jan-2020 12:22:46    Found conditional task: com.atlassian.bamboo.plugins.scripttask:task.builder.script Check if the run is started manually. Skipping task because conditions were not met.

Bamboo 6.9.1, Plugin version 0.10
Any Idea?

Cheers, Maximilian

Comments (4)

  1. Log in to comment