Open
Description
What version of OpenRewrite are you using?
I am using:
- OpenRewrite v8.11.1
- Maven/Gradle plugin v5.15.4
How are you running OpenRewrite?
I am using the Maven plugin, and my project is a single module project. I'm running the plugin via Maven CLI.
mvn org.openrewrite.maven:rewrite-maven-plugin:5.15.4:dryRunNoFork -Drewrite.recipeArtifactCoordinates=my.company:migration-recipes:1.0.0-SNAPSHOT -Drewrite.activeRecipes=my.company.MigrationRecipe
What is the smallest, simplest way to reproduce the problem?
My project contains the following Jenkinsfile
, among other code:
@Library("jenkins-shared-libs@my_tag") _
// artifactory standard pipeline
artifactory()
What did you expect to see?
No changes to Jenkinsfile
.
What did you see instead?
[WARNING] These recipes would make changes to Jenkinsfile:
[WARNING] my.company.MigrationRecipe
[WARNING] my.company.ProjectTypeAMigrationRecipe
[WARNING] my.company.CommonRecipe
[WARNING] my.company.Java17Recipes
[WARNING] org.openrewrite.java.migrate.UpgradeToJava17
[WARNING] org.openrewrite.java.migrate.Java8toJava11
[WARNING] org.openrewrite.java.migrate.JavaVersion11
[WARNING] org.openrewrite.java.migrate.UpgradeJavaVersion: {version=11}
[WARNING] org.openrewrite.java.migrate.JavaVersion17
[WARNING] org.openrewrite.java.migrate.UpgradeJavaVersion: {version=17}
[WARNING] my.company.BestPractices
[WARNING] org.openrewrite.java.format.RemoveTrailingWhitespace
diff --git a/Jenkinsfile b/Jenkinsfile
index ed6e76b..2c86077 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,4 +1,4 @@ org.openrewrite.config.CompositeRecipe
-@Library("jenkins-shared-libs@my_tag") _
+@Library("jenkins-shared-libs@my_
What is the full stack trace of any errors you encountered?
No stack trace available
Are you interested in contributing a fix to OpenRewrite?
I'm already contributing on other issues.
Metadata
Assignees
Labels
Type
Projects
Status
Backlog
Activity