We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58c1e9a commit 24e45afCopy full SHA for 24e45af
1 file changed
jenkins/pipelines/tracecompass-test.Jenkinsfile
@@ -36,7 +36,7 @@ pipeline {
36
RCP_PATTERN="trace-compass-*"
37
JAVADOC_PATH="target/site/apidocs"
38
GIT_SHA_FILE="tc-git-sha"
39
- DEFAULT_RCP_TITLE="Download Page"
+ WEBPAGE_TITLE="Download Page"
40
}
41
stages {
42
stage('Checkout') {
@@ -180,12 +180,12 @@ pipeline {
180
steps {
181
sshagent (['projects-storage.eclipse.org-bot-ssh']) {
182
script {
183
- def title = ${RCP_TITLE}
184
- if (!title) {
185
- title = ${DEFAULT_RCP_TITLE}
+ if (env.RCP_TITLE) {
+ env.WEBPAGE_TITLE = env.RCP_TITLE
186
187
- generate_download_page(${RCP_DESTINATION}, title)
188
+ println "${WEBPAGE_TITLE}"
+ generate_download_page("\${RCP_DESTINATION}", "\${WEBPAGE_TITLE}")
189
190
191
0 commit comments