updated Jenkinsfile

This commit is contained in:
Marvin Zhang
2019-06-21 22:43:50 +08:00
parent b717d87a89
commit 0ba1b2e86f

5
Jenkinsfile vendored
View File

@@ -18,13 +18,16 @@ pipeline {
env.MODE = 'test'
}
}
sh """
echo `whoami`
newgrp docker
"""
}
}
stage('Build') {
steps {
echo "Building..."
sh """
echo `whoami`
docker build -t crawlab:latest .
"""
}