PersonalMain-Golang/Jenkinsfile

21 lines
359 B
Go
Raw Normal View History

2024-01-31 13:40:59 +08:00
pipeline {
2024-01-31 15:02:47 +08:00
environment {
2024-01-31 13:40:59 +08:00
QODANA_TOKEN=credentials('qodana-token')
2024-01-31 15:02:47 +08:00
}
agent {
docker {
args '''
-v "${WORKSPACE}":/data/project
--entrypoint=""
'''
image 'jetbrains/qodana-go'
}
}
stages {
stage('Qodana') {
steps {
sh '''qodana'''
}
}
}
}