Integrating with Jenkins
Run Seal in a Jenkins pipeline.
Before you start
The stage
stage('Seal CLI') {
environment {
SEAL_TOKEN = credentials('seal-token')
SEAL_PROJECT = 'my-project-id'
}
steps {
sh '''
curl -fsSL https://github.com/seal-community/cli/releases/download/latest/seal-linux-amd64-latest.zip -o seal.zip
unzip seal.zip && chmod +x seal
./seal fix --mode all
'''
}
}Related
Last updated