Browse Source

提供构建文件

main
Julin 2 years ago
parent
commit
a7bbb895d3
  1. 18
      code/pep-stats-report/jenkinsfile
  2. 18
      code/pep-stats-report/jenkinsfile-new

18
code/pep-stats-report/jenkinsfile

@ -0,0 +1,18 @@
pipeline {
agent {
node {
label 'jnlp-slave'
}
}
stages {
stage('Testing fs-pep-stats-report......') {
steps {
buildName '#${BUILD_NUMBER} ~/fs-cloud/${JOB_NAME}:${IMAGE_VERSION}'
buildDescription 'harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION}'
sh 'nerdctl build -t harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION} .'
sh 'nerdctl push harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION}'
}
}
}
}

18
code/pep-stats-report/jenkinsfile-new

@ -0,0 +1,18 @@
pipeline {
agent {
node {
label 'jnlp-slave'
}
}
stages {
stage('Testing fs-pep-stats-report......') {
steps {
buildName '#${BUILD_NUMBER} ~/fs-cloud/${JOB_NAME}:${IMAGE_VERSION}'
buildDescription 'registry.ngaiot.com/pep/${JOB_NAME}:${IMAGE_VERSION}'
sh 'nerdctl build -t registry.ngaiot.com/pep/${JOB_NAME}:${IMAGE_VERSION} .'
sh 'nerdctl push registry.ngaiot.com/pep/${JOB_NAME}:${IMAGE_VERSION}'
}
}
}
}
Loading…
Cancel
Save