find specific file

This commit is contained in:
Derek DeJonghe 2019-08-05 13:42:19 -04:00
parent 13e62b8afd
commit 1576b8ae21

2
Jenkinsfile vendored
View File

@ -86,7 +86,7 @@ pipeline {
}
}
}
sh "aws s3 cp `ls dist/ | grep semver` s3://rbn-ops-pkg-us-east-1/${env.SERVICE}/${env.SERVICE}-${env.VERSION}.tar.gz"
sh "aws s3 cp `find ./dist/ -name semver-*` s3://rbn-ops-pkg-us-east-1/${env.SERVICE}/${env.SERVICE}-${env.VERSION}.tar.gz"
}
post