Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ProB Rodin Plugin
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
ProB Rodin Plugin
Commits
f2b1f0fa
Commit
f2b1f0fa
authored
2 years ago
by
dgelessus
Browse files
Options
Downloads
Patches
Plain Diff
Remove unnecessary copy of built repository
parent
1a60e668
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#113325
passed
2 years ago
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-3
2 additions, 3 deletions
.gitlab-ci.yml
build.gradle
+0
-12
0 additions, 12 deletions
build.gradle
with
2 additions
and
15 deletions
.gitlab-ci.yml
+
2
−
3
View file @
f2b1f0fa
...
...
@@ -12,10 +12,9 @@ build:
-
./gradlew downloadCli
-
./gradlew collectDependencies
-
mvn -f de.prob.parent/pom.xml install
-
./gradlew collectArtifacts
artifacts
:
paths
:
-
updatesite
-
de.prob.repository/target/repository
deploy
:
stage
:
deploy
...
...
@@ -26,4 +25,4 @@ deploy:
-
apk update
-
apk add lftp openssh-client
script
:
-
LFTP_PASSWORD="${DEPLOY_PASSWORD}" lftp -c "set cmd:fail-exit
true
; set sftp:auto-confirm
true
; open --user ${DEPLOY_USERNAME} --env-password sftp://${DEPLOY_HOST}/${DEPLOY_REMOTE_BASEDIR}/rodin/prob1/nightly/;
mirror -vvv -R updatesite
."
-
LFTP_PASSWORD="${DEPLOY_PASSWORD}" lftp -c "set cmd:fail-exit
true
; set sftp:auto-confirm
true
; open --user ${DEPLOY_USERNAME} --env-password sftp://${DEPLOY_HOST}/${DEPLOY_REMOTE_BASEDIR}/rodin/prob1/nightly/;
put -e index.html; mirror -vvv -R de.prob.repository/target/repository
."
This diff is collapsed.
Click to expand it.
build.gradle
+
0
−
12
View file @
f2b1f0fa
...
...
@@ -89,15 +89,3 @@ task downloadCli {
completeInstall
.
dependsOn
downloadCli
completeInstall
.
dependsOn
subprojects
.
setClassPath
task
deleteOldArtifacts
(
type:
Delete
)
{
String
updateSite
=
workspacePath
+
'updatesite'
delete
updateSite
}
task
collectArtifacts
(
type:
Copy
)
{
from
workspacePath
+
groupID
+
'.repository/target/repository/'
into
workspacePath
+
'updatesite'
from
workspacePath
+
"index.html"
into
workspacePath
+
'updatesite'
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment