正确的语法似乎是:
pipeline { agent { label 'CentOS7' } stages { stage('Creating tox virtual environment') { steps { sh 'uname -a' sh 'tox -v --recreate' } } }}另外,请确保您的主机正在运行。

正确的语法似乎是:
pipeline { agent { label 'CentOS7' } stages { stage('Creating tox virtual environment') { steps { sh 'uname -a' sh 'tox -v --recreate' } } }}另外,请确保您的主机正在运行。