getProject

Returns the Project which this task belongs to.

Calling this method from a task action is not supported when configuration caching is enabled.

Return

The project this task belongs to. Never returns null.