Menu

Migrating a Custom Jenkinsfile to GitHub Actions Using OpenRewrite
📰

Migrating a Custom Jenkinsfile to GitHub Actions Using OpenRewrite

DEV Community: cicd·Wai Yan·9 days ago
#UNKNwETw
#devtocicd#devto#dev#scanning#github
Reading 0:00
15s threshold

If you are thinking about migrating from a Jenkinsfile to GitHub Actions YAML at work, of course there is a GitHub Actions Importer tool and there are documents and courses available for the migration process from Jenkinsfile to GitHub Actions YAML.

But what if the Jenkinsfile written in your company is fully customised? In that case, the importer cannot do this as an automated function. So that’s where OpenRewrite comes in.

What is OpenRewrite?

OpenRewrite is a Java refactoring framework where you write the changes you want to do in your codebase, or the migration process, programmatically by writing code. In OpenRewrite terms this is called a Recipe. Recipes are written in Java, or now currently there is also a JavaScript capability to write a recipe.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.