Skip to content

Commit

Permalink
Try installing the semver-tool instead of pulling git repo
Browse files Browse the repository at this point in the history
  • Loading branch information
dtwaddle2-r7 committed Nov 17, 2023
1 parent 3046cea commit cc7291c
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
@Library('jenkins-octo-shared-libraries@master') _
s3ReleasePipeline(
testCmd: [
'Debug: Try checkout semver-tool': {
checkout([
$class: 'GitSCM',
branches: [[name: 'refs/tags/3.3.0']],
userRemoteConfigs: [[credentialsId: 'github-app-key', url: '[email protected]:fsaintjacques/semver-tool.git']]
])
sh 'ls -l'
'Debug: install semver-tool': {
sh 'wget -O semver-tool https://raw.githubusercontent.com/fsaintjacques/semver-tool/3.3.0/src/semver '
sh 'chmod +x semver-tool/semver'
sh 'semver-tool/semver --version'
}
]
)

0 comments on commit cc7291c

Please sign in to comment.