Jenkins
SEO guard in your Jenkins pipeline.
Add Indxel to your Jenkinsfile to validate SEO as part of your build pipeline. The check stage runs after build and blocks deployment when critical SEO issues are detected.
1.Add to your Jenkinsfile
groovy
pipeline {
agent {
docker { image 'node:20-alpine' }
}
stages {
stage('Install') {
steps {
sh 'npm ci'
}
}
stage('Build') {
steps {
sh 'npm run build'
}
}
stage('SEO Check') {
steps {
sh 'npx indxel check --ci'
}
}
}
}2.Crawl a deployed environment
groovy
stage('SEO Crawl') {
steps {
sh "npx indxel crawl ${env.DEPLOY_URL} --ci --push --api-key ${env.INDXEL_API_KEY}"
}
}Why use Indxel with Jenkins
- ✓Add SEO validation as a pipeline stage alongside tests and linting
- ✓Fail deployments when metadata breaks — consistent quality enforcement
- ✓Crawl deployed environments in post-deploy stages for runtime checks
- ✓Integrate with Jenkins notifications for SEO regression alerts
Frequently asked questions
Does Indxel work with Jenkins Pipeline?
Yes. Add a 'SEO Check' stage to your Jenkinsfile that runs npx indxel check --ci. It works with both declarative and scripted pipelines.
Can I run it in a Docker agent?
Yes. Use any Node.js Docker image (node:20-alpine recommended) as your agent. Indxel runs via npx with no additional dependencies.