Commit 45a29ccb authored by carlosribas's avatar carlosribas
Browse files

Escape character

parent fe711719
......@@ -22,7 +22,7 @@ pipeline {
steps {
script {
// get Docker Hub tags
def DOCKER_TAGS = sh (script: 'curl https://registry.hub.docker.com/v1/repositories/rnacentral/rnacentral-webcode/tags | python -c "import sys, json; result = json.load(sys.stdin); print('\n'.join(list(map(lambda x : x['name'], result))))"', returnStdout:true).trim()
def DOCKER_TAGS = sh (script: 'curl https://registry.hub.docker.com/v1/repositories/rnacentral/rnacentral-webcode/tags | python -c "import sys, json; result = json.load(sys.stdin); print(\"\n\".join(list(map(lambda x : x[\"name\"], result))))"', returnStdout:true).trim()
input(
message: "Select a Docker Hub tag",
parameters: [choice(name: "TAG", choices: "${DOCKER_TAGS}", description: "Docker Hub tag")]
......
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