1 Star 0 Fork 0

fengyexjtu/mercyblitz-shopizer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Jenkinsfile 1.37 KB
一键复制 编辑 原始数据 按行查看 历史
shopizerecomm 提交于 2022-12-29 22:32 . 3.2.5 - main default branch
pipeline{
agent {
label 'MVN3'
}
stages{
stage('clone'){
steps{
git url: 'https://github.com/tarunkumarpendem/shopizer.git',
branch: 'master'
}
}
stage ('build') {
steps {
sh 'mvn clean package'
}
}
stage('Build the Code') {
steps {
withSonarQubeEnv('sonarcloud') {
sh script: 'mvn clean package sonar:sonar'
}
}
stage('archiving-artifacts'){
steps{
archiveArtifacts artifacts: '**/target/*.jar', followSymlinks: false
}
}
stage('junit_reports'){
steps{
junit '**/surefire-reports/*.xml'
}
}
}
pipeline {
agent {label 'OPENJDK-11-JDK'}
triggers {
pollSCM('0 17 * * *')
}
stages {
stage('vcs') {
steps {
git branch: 'release', url: 'https://github.com/longflewtinku/shopizer.git'
}
}
stage('merge') {
steps {
sh 'git checkout devops'
sh 'git merge release --no-ff'
}
}
stage('build') {
steps {
sh 'mvn clean install'
}
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/fengyexjtu/mercyblitz-shopizer.git
[email protected]:fengyexjtu/mercyblitz-shopizer.git
fengyexjtu
mercyblitz-shopizer
mercyblitz-shopizer
distriubted

搜索帮助