Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
global-jenkinsfile
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QA
global-jenkinsfile
Commits
e00b872d
Commit
e00b872d
authored
Nov 19, 2017
by
daidekun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pwd
parent
2cf2ccb0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
StageBucket.groovy
src/org/qg/StageBucket.groovy
+1
-5
untitled.txt
untitled.txt
+5
-1
No files found.
src/org/qg/StageBucket.groovy
View file @
e00b872d
...
@@ -37,8 +37,6 @@ def prepare_python(contextDir) {
...
@@ -37,8 +37,6 @@ def prepare_python(contextDir) {
def
checkout
(
branchName
,
gitRepo
)
{
def
checkout
(
branchName
,
gitRepo
)
{
git
branch:
branchName
,
credentialsId:
'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db'
,
url:
"git@gitabc.xyqb.com:${gitRepo}.git"
git
branch:
branchName
,
credentialsId:
'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db'
,
url:
"git@gitabc.xyqb.com:${gitRepo}.git"
sh
"git pull origin master"
sh
"git pull origin master"
sh
"pwd"
sh
"ls -l"
}
}
def
build_java
(
namespace
,
systemName
,
contextDir
)
{
def
build_java
(
namespace
,
systemName
,
contextDir
)
{
...
@@ -75,7 +73,7 @@ def build_nodejs_and_ui(namespace, systemName, contextDir, repoName, branchName)
...
@@ -75,7 +73,7 @@ def build_nodejs_and_ui(namespace, systemName, contextDir, repoName, branchName)
print
configName
print
configName
print
"=========================="
print
"=========================="
sh
"pwd
()
"
sh
"pwd"
sh
"ls -l"
sh
"ls -l"
print
"mv -f env.config.js ${configPath}"
print
"mv -f env.config.js ${configPath}"
...
@@ -89,8 +87,6 @@ def build_nodejs_and_ui(namespace, systemName, contextDir, repoName, branchName)
...
@@ -89,8 +87,6 @@ def build_nodejs_and_ui(namespace, systemName, contextDir, repoName, branchName)
print
"mv dist.tgz ./${contextDir}"
print
"mv dist.tgz ./${contextDir}"
sh
"mv dist.tgz ./${contextDir}"
sh
"mv dist.tgz ./${contextDir}"
/* sh "ansible-playbook /etc/ansible/deploy.yml -e project_name=pre.${systemName} -e repo_name=${repoName} -e branch_name=${branchName} -vv"*/
/*sh "ansible-playbook /etc/ansible/build.yml -e prefix=${namespace} -e project_name=pre.${systemName} -e workspace=${contextDir} -vv"*/
}
}
...
...
untitled.txt
View file @
e00b872d
sh "mkdir -p ${contextDir}/config/"
sh "mkdir -p ${contextDir}/config/"
sh "cp -rf /home/quant_group/config_repository/java/${systemName}.properties ${contextDir}/config/application.properties"
sh "cp -rf /home/quant_group/config_repository/java/${systemName}.properties ${contextDir}/config/application.properties"
/* sh "ansible-playbook /etc/ansible/deploy.yml -e project_name=pre.${systemName} -e repo_name=${repoName} -e branch_name=${branchName} -vv"*/
/*sh "ansible-playbook /etc/ansible/build.yml -e prefix=${namespace} -e project_name=pre.${systemName} -e workspace=${contextDir} -vv"*/
\ No newline at end of file
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