-
Bug
-
Resolution: Fixed
-
Major
-
None
Affects anchore plugin <= 1.0.4. The workaround until the fix is released is to ensure that, when creating the anchore_images input file, that there is only a single regular 'space' separating the image from the dockerfile path, in each line.
[JENKINS-40583] Anchore build step will fail if there is more than a single whitespace separating a container image (name/id) from the dockerfile path, in anchore_images input file
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Code changed in jenkins
User: Daniel Nurmi
Path:
src/main/java/com/anchore/jenkins/plugins/anchore/AnchoreBuilder.java
http://jenkins-ci.org/commit/anchore-container-scanner-plugin/614a9d1cf35c3d4c06d54c0e736d5bef204e5cad
Log:
[FIXED JENKINS-40583] adding more checking and better tokenizing for handling the parse of anchore_images input file
Signed-off-by: Daniel Nurmi <nurmi@anchore.com>