Commit 23d4dc4c authored by carlosribas's avatar carlosribas
Browse files

Add /bin/bash

parent 6345b9a4
......@@ -29,7 +29,8 @@ pipeline {
steps {
script {
// check if the tag exists
def result = sh returnStatus: true, script: 'curl https://registry.hub.docker.com/v1/repositories/rnacentral/rnacentral-webcode/tags | grep ${params.BRANCH}'
echo ${params.BRANCH}
def result = sh returnStatus: true, script: '/bin/bash -c curl https://registry.hub.docker.com/v1/repositories/rnacentral/rnacentral-webcode/tags | grep ${params.BRANCH}'
if (result != 0) {
error('Failed to build')
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment