|
|
Reply ·0 | |
|
|
|
|
Reply ·0 | |
|
|
|
mjoubert commented
8 years ago
I have been trying to make this work.... if I modify the code to:
Then I can see the "buildEnvironmentFor" printed BEFORE the P4 step run. Looking at the docs, this API is called at the beginning of a well written workflow step to get the env variables. But this doesn't set the env for main flow only for other steps that does call buildEnvironmentFor. I want to do how do I get the env back ? (without writing my own step?) |
Reply ·0 | |
|
|
|
|
Reply ·0 | |
|
|
|
Paul Allen commented
8 years ago
The extension point is called multiple times during a build and as so the environment changes. I would only attempt to use this after the sync. I'm not sure what you are trying to do, it looks like you are trying to access old builds? |
Reply ·0 | |
|
|
|
mjoubert commented
8 years ago
I have now got my head around on how the extension point works. |
Reply ·0 | |
|