diff --git a/code/pep-stats-report/jenkinsfile b/code/pep-stats-report/jenkinsfile new file mode 100644 index 0000000..48f4db0 --- /dev/null +++ b/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}' + } + } + } +} \ No newline at end of file diff --git a/code/pep-stats-report/jenkinsfile-new b/code/pep-stats-report/jenkinsfile-new new file mode 100644 index 0000000..3027d77 --- /dev/null +++ b/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}' + } + } + } +} \ No newline at end of file