XiaoLFeng
3702dc4935
All checks were successful
JslGroup/JslDeveloper/JSL_OrganizeInternalOA/pipeline/head This commit looks good
24 lines
435 B
Groovy
24 lines
435 B
Groovy
pipeline {
|
|
environment {
|
|
QODANA_TOKEN=credentials('qodana-token')
|
|
}
|
|
agent {
|
|
docker {
|
|
args '''
|
|
-v "${WORKSPACE}":/data/project
|
|
--entrypoint=""
|
|
'''
|
|
image 'jetbrains/qodana-jvm'
|
|
}
|
|
}
|
|
stages {
|
|
stage('Qodana') {
|
|
when {
|
|
branch 'feature'
|
|
}
|
|
steps {
|
|
sh '''qodana'''
|
|
}
|
|
}
|
|
}
|
|
} |