diff --git a/Jenkinsfile b/Jenkinsfile index aec76b0..bfa0ce3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,12 +1,9 @@ pipeline { - + agent any stages { stage('Build 8.0-swoole') { - agent { - docker { image 'plugins/docker' } - } steps { - sh 'docker login harbor.luxcreo.cn -u ' + sh 'docker login harbor.luxcreo.cn -u robot$library+jenkinsfile -p Bw0teIfUhP7WBd1yDp7DTWSbF0d5nVvE' sh 'docker build -t harbor.luxcreo.cn/library/hyperf:8.0-swoole -f swoole/8.0/Dockerfile .' sh 'docker push harbor.luxcreo.cn/library/hyperf:8.0-swoole' }