PersonalMain-Golang/Jenkinsfile

22 lines
380 B
Go
Raw Normal View History

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