test inside current docker image
This commit is contained in:
parent
56ee7b103d
commit
cf7e92bc1d
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -57,9 +57,7 @@ pipeline {
|
||||
}
|
||||
stage('Test') {
|
||||
agent {
|
||||
docker {
|
||||
image "rightbrainnetworks/auto-semver:${env.VERSION}"
|
||||
}
|
||||
dockerfile true
|
||||
}
|
||||
steps
|
||||
{
|
||||
|
@ -21,7 +21,6 @@ def get_version(build=0,version_format=None,dot=False):
|
||||
logger.debug("v_hash and c_hash do not match!")
|
||||
branch = subprocess.Popen(['git', 'rev-parse', '--abbrev-ref', 'HEAD'], stdout=subprocess.PIPE,
|
||||
stderr=DEVNULL, cwd='.').stdout.read().decode('utf-8').rstrip()
|
||||
if version_format:
|
||||
semver = SemVer()
|
||||
semver.merged_branch = branch
|
||||
version_type = semver.get_version_type()
|
||||
|
Loading…
Reference in New Issue
Block a user