Jenkins
Last updated
pipeline {
agent any
stages {
stage('OX Security Scan') {
agent {
docker {
alwaysPull true
image 'oxsecurity/ox-block-mode:latest'
}
}
environment {
OX_API_KEY = credentials('ox-api-key')
// OX_COMMIT_SHA = 6f3f6a038baa67b40f12d0692e75c40ad49a986e
// OX_SOURCE_BRANCH = development
// OX_TARGET_BRANCH = main
// OX_OVERRIDE_BLOCKING = false
// OX_TIMEOUT = 20
// OX_FAIL_ON_TIMEOUT = false
// OX_FAIL_ON_ERROR = false
}
steps {
script {
sh 'ox-block-mode'
}
}
}
}
}