Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Carlos Ribas
rnacentral-webcode
Commits
23d4dc4c
Commit
23d4dc4c
authored
May 17, 2021
by
carlosribas
Browse files
Add /bin/bash
parent
6345b9a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
jenkins/wp-kubernetes.jenkinsfile
jenkins/wp-kubernetes.jenkinsfile
+2
-1
No files found.
jenkins/wp-kubernetes.jenkinsfile
View file @
23d4dc4c
...
...
@@ -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')
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment