Skip to content

Commit

Permalink
adjust windows presubmit
Browse files Browse the repository at this point in the history
  • Loading branch information
mpeddada1 committed Dec 21, 2023
1 parent 5bc90f8 commit cfecdc8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,16 @@ public ExtraDirectoryParameters(ObjectFactory objects) {
ExtraDirectoryParameters(ObjectFactory objects, Path from, String into) {
this(objects);
this.from = objects.fileCollection().from(from);
System.out.println("VALUE OF FROM");
System.out.println(this.from);
this.into = objects.property(String.class).value(into);
}

@Override
@InputFiles
public Path getFrom() {
System.out.println("VALUE OF GET FROM");
System.out.println(from.getSingleFile().toPath());
return from.getSingleFile().toPath();
}

Expand Down
2 changes: 1 addition & 1 deletion kokoro/presubmit.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ cd github/jib
REM Stops any left-over containers.
REM FOR /f "tokens=*" %%i IN ('docker ps -aq') DO docker rm -vf %%i

call gradlew.bat build --info --stacktrace
call gradlew.bat build --info --stacktrace --tests JibExtensionTest.testProperties

exit /b %ERRORLEVEL%

0 comments on commit cfecdc8

Please sign in to comment.