Skip to content

Commit

Permalink
More upgrades to invoker (#282)
Browse files Browse the repository at this point in the history
Seems the ITs were not aligned (invoke:run vs invoker:....) and ruby IT did not run since ages... Fixed all.
This does not render latest releases wrong, there is no released code change, just the build is fixed.
  • Loading branch information
cstamas authored Nov 13, 2023
1 parent b53891c commit 2fc70ac
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions polyglot-ruby/src/it/ruby_execute/verify.bsh
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ if ( !log.contains( expected ) )
{
throw new RuntimeException( "log file does not contain '" + expected + "'" );
}
expected = "io.takari.polyglot:execute-ruby:1:jar";
expected = "io.takari.polyglot.it:execute-ruby:1:jar";
if ( !log.contains( expected ) )
{
throw new RuntimeException( "log file does not contain '" + expected + "'" );
}
expected = "#<Tesla::Parser";
expected = "#<Maven::Polyglot::Parser";
if ( !log.contains( expected ) )
{
throw new RuntimeException( "log file does not contain '" + expected + "'" );
Expand Down
2 changes: 1 addition & 1 deletion polyglot-ruby/src/it/use_jruby_installation/verify.bsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import org.codehaus.plexus.util.FileUtils;


String log = FileUtils.fileRead( new File( basedir, "build.log" ) );
String expected = "jruby version 1.7.4";
String expected = "jruby version 9.4.5.0";
if ( !log.contains( expected ) )
{
throw new RuntimeException( "log file does not contain '" + expected + "'" );
Expand Down
4 changes: 1 addition & 3 deletions polyglot-scala/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@
<id>integration-test</id>
<goals>
<goal>install</goal>
<goal>integration-test</goal>
<goal>verify</goal>
<goal>run</goal>
</goals>
<configuration>
<settingsFile>${basedir}/src/it/settings.xml</settingsFile>
Expand All @@ -150,7 +149,6 @@
<debug>false</debug>
<streamLogs>true</streamLogs>
<goals><goal>verify</goal></goals>
<postBuildHookScript>validate.groovy</postBuildHookScript>
</configuration>
</execution>
</executions>
Expand Down
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@
<version>3.6.0</version>
<configuration>
<scope>test</scope>
<postBuildHookScript>verify</postBuildHookScript>
<streamLogsOnFailures>true</streamLogsOnFailures>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit 2fc70ac

Please sign in to comment.