-
Bug
-
Resolution: Unresolved
-
Major
-
None
The build flow job type does not initialize the project's workspace. However, this project supports options, like SCM, that require a workspace to be initialized. This means:
- build-flow projects cannot use SCM
- build-flow projects cannot be triggered by SCM changes if that trigger requires a workspace. Due to
JENKINS-20767all Git triggered projects currently require a workspace.
- build-flow projects cannot be triggered by SCM changes if that trigger requires a workspace. Due to
- build-flow projects cannot use any post-build action that assumes a workspace. EG: archive artifacts
commit that introduced issue: https://github.com/jenkinsci/build-flow-plugin/commit/444097d65ecb97c92005b3acd63db8e03bdeb6a3
- is related to
-
JENKINS-22725 build.workspace always null
-
- Resolved
-
-
JENKINS-20767 Git plugin 2.0: Git polling causes builds even if no changes
-
- Closed
-
[JENKINS-20843] build flow plugin does not properly initialize workspace but supports options (SCM) that require a workspace
Description |
Original:
The build flow job type does not initialize the project's workspace. However, this project supports options, like SCM, that require a workspace to be initialized. This means: # build-flow projects cannot use SCM #* build-flow projects cannot be triggered by SCM changes if that trigger requires a workspace. Due to # build-flow projects cannot use any post-build action that assumes a workspace. EG: archive artifacts |
New:
The build flow job type does not initialize the project's workspace. However, this project supports options, like SCM, that require a workspace to be initialized. This means: # build-flow projects cannot use SCM #* build-flow projects cannot be triggered by SCM changes if that trigger requires a workspace. Due to # build-flow projects cannot use any post-build action that assumes a workspace. EG: archive artifacts commit that introduced issue: https://github.com/jenkinsci/build-flow-plugin/commit/444097d65ecb97c92005b3acd63db8e03bdeb6a3 |
Link |
New:
This issue is related to |
Link |
New:
This issue is related to |
Assignee | Original: Nicolas De Loof [ ndeloof ] | New: Damien Nozay [ dnozay ] |
Assignee | Original: Damien Nozay [ dnozay ] |
I don't think there's a way to filter build step to require a workspace.
Archiving artifact for a flow don't make sense, only jobs triggered by artifact have built artifacts to be archived.