JSL_OrganizeInternalOA/Jenkinsfile

24 lines
628 B
Plaintext
Raw Normal View History

2024-01-24 20:02:45 +08:00
pipeline {
2024-01-25 00:18:00 +08:00
environment {
QODANA_TOKEN = credentials('eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmdhbml6YXRpb24iOiJwNTZYRyIsInByb2plY3QiOiIzd1JQNyIsInRva2VuIjoiQWFxVkoifQ.R3TH0E2LgVpBorJ1wyIx3zjIM1p4j-taEEShZKhH2l8')
}
agent {
docker {
args '''
-v "${WORKSPACE}":/data/project
--entrypoint=""
'''
image 'jetbrains/qodana-jvm'
}
}
stages {
stage('Qodana') {
when {
branch 'feature'
}
steps {
sh '''qodana'''
}
}
}
2024-01-24 20:02:45 +08:00
}