Skip to content
Snippets Groups Projects
Commit b7506422 authored by Eskudero Gurrutxaga, Ibon's avatar Eskudero Gurrutxaga, Ibon
Browse files

add comments & add jfrog cli installation command

parent 44874ecb
No related branches found
No related tags found
No related merge requests found
......@@ -8,8 +8,15 @@ artifactory:
variables:
GIT_STRATEGY: none
script:
#set root user
- npm -g config set user root
# install jfrog cli
- npm install -g jfrog-cli-go
#create a publish package
- jfrog rt npm-publish --build-name=$CI_PROJECT_NAME --build-number=$CI_JOB_ID
# save environment variables into thepackage
- jfrog rt bce $CI_PROJECT_NAME $CI_JOB_ID
# publish the package to artifactory
- jfrog rt bp $CI_PROJECT_NAME $CI_JOB_ID
only:
- tags
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment