Skip to content

Commit

Permalink
More log in tests and build
Browse files Browse the repository at this point in the history
  • Loading branch information
mickaelistria committed Nov 17, 2023
1 parent 03f1f5d commit 07a6509
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ pipeline {
}
post {
always {
sh 'which rustup'
sh 'which rust-analyzer'
sh 'rust-analyzer --version'
junit '*/target/surefire-reports/TEST-*.xml'
archiveArtifacts artifacts: '*/target/work/data/.metadata/.log'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ public static CompletableFuture<File> downloadAndInstallRustAnalyzer(DoubleConsu

// Use retrieve to initiate file transfer
File archiveFile = new File(RUST_ANALYZER_DEFAULT_LOCATION.getParentFile(), filename);
CorrosionPlugin.getDefault().getLog().log(Status.info("Downloading to " + archiveFile)); //$NON-NLS-1$
try {
CompletableFuture<File> res = new CompletableFuture<>();
IFileID id = FileIDFactory.getDefault().createFileID(retrieve.getRetrieveNamespace(), URI.create(url));
Expand Down Expand Up @@ -370,6 +371,7 @@ public static void decompressGzip(File input, File output) throws IOException {
try (FileOutputStream out = new FileOutputStream(output)) {
in.transferTo(out);
output.setExecutable(true);
CorrosionPlugin.getDefault().getLog().info("UnGZipped to " + output); //$NON-NLS-1$
input.delete();
}
}
Expand Down

0 comments on commit 07a6509

Please sign in to comment.