try workspace again

This commit is contained in:
Robert Kaussow 2019-02-27 22:46:32 +01:00
parent e1701584a7
commit e17d711596
1 changed files with 12 additions and 9 deletions

View File

@ -2,17 +2,20 @@
kind: pipeline
name: default
workspace:
base: /drone/src
path: xxxxx
clone:
disable: true
# clone:
# disable: true
steps:
- name: clone
image: docker:git
commands:
- git clone $DRONE_GIT_HTTP_URL
- cd $DRONE_REPO_NAME
- git checkout $DRONE_COMMIT -b $DRONE_BRANCH
# steps:
# - name: clone
# image: docker:git
# commands:
# - git clone $DRONE_GIT_HTTP_URL
# - cd $DRONE_REPO_NAME
# - git checkout $DRONE_COMMIT -b $DRONE_BRANCH
# - name: ansible-latest
# image: python:2.7