Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ejercicio2-framework-front
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Josue
ejercicio2-framework-front
Commits
f5fe387c
Commit
f5fe387c
authored
Mar 08, 2021
by
Marco Ortiz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
26c40210
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Jenkinsfile
Jenkinsfile
+4
-4
No files found.
Jenkinsfile
View file @
f5fe387c
...
...
@@ -5,7 +5,7 @@ pipeline {
tag_name
=
"192.168.27.148:5000"
credentials
=
"admin-docker-hub"
dockerImage
=
''
PACKAGE_VERSION
=
'.'
//
PACKAGE_VERSION = '.'
}
agent
any
parameters
{
...
...
@@ -18,9 +18,9 @@ pipeline {
nodejs
(
nodeJSInstallationName:
'NodeJS13'
,
configId:
'77600a18-f968-4cca-83e4-a9f76d165336'
)
{
sh
'PACKAGE_VERSION=$(node -p -e "require(\'./package.json\').version")'
echo
"Branch1112211 is $PACKAGE_VERSION"
sh
'npm config ls'
sh
'npm install'
sh
'npm i -D typescript@3.4.3'
//
sh 'npm config ls'
//
sh 'npm install'
//
sh 'npm i -D typescript@3.4.3'
}
echo
"Branch11111 is ${PACKAGE_VERSION}..."
...
...
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