find specific file

This commit is contained in:
Derek DeJonghe 2019-08-05 13:31:30 -04:00
parent 6982213feb
commit a0d388c831

2
Jenkinsfile vendored
View File

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