Step | Arguments | | | Status |
---|
Start of Pipeline - (6 mn 21 s in block) | | | |
|
node - (6 mn 21 s in block) | | | |
|
node block - (6 mn 21 s in block) | | | |
|
stage - (1,2 s in block) | Declarative: Checkout SCM | | |
|
stage block (Declarative: Checkout SCM) - (1,2 s in block) | | | |
|
checkout - (1,2 s in self) | | | |
|
withEnv - (6 mn 19 s in block) | GIT_AUTHOR_EMAIL, GIT_AUTHOR_NAME, GIT_BRANCH, GIT_COMMIT, GIT_COMMITTER_EMAIL, GIT_COMMITTER_NAME, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL | | |
|
withEnv block - (6 mn 19 s in block) | | | |
|
isUnix - (1 ms in self) | | | |
|
withEnv - (0,27 s in block) | JD_ID, JD_TO_RUN | | |
|
withEnv block - (0,26 s in block) | | | |
|
sh - (0,25 s in self) | docker inspect -f . "$JD_TO_RUN" | | |
|
withDockerContainer - (6 mn 19 s in block) | | | |
|
withDockerContainer block - (6 mn 17 s in block) | | | |
|
withEnv - (6 mn 17 s in block) | buildVersion, silverpeas, fileRepo, wildfly, dbConf, gitRepo, silverpeasBuildJobName, mavenRepo | | |
|
withEnv block - (6 mn 17 s in block) | | | |
|
stage - (2,7 s in block) | Fetch the last build version of Silverpeas | | |
|
stage block (Fetch the last build version of Silverpeas) - (2,7 s in block) | | | |
|
sh - (0,25 s in self) | rm -rf * ~/.gradle | | |
|
sh - (0,26 s in self) | mkdir logs | | |
|
copyArtifacts - (18 ms in self) | | | |
|
script - (1,9 s in block) | | | |
|
script block - (1,9 s in block) | | | |
|
readYaml - (9 ms in self) | build.yaml | | |
|
sh - (1,6 s in self) | curl -fsSL -o pom.xml https://nexus3.silverpeas.org/repository/silverpeas/org/silverpeas/silverpeas-project/1.7-build240925/silverpeas-project-1.7-build240925.pom | | |
|
readMavenPom - (31 ms in self) | | | |
|
sh - (0,26 s in self) | rm -f pom.xml | | |
|
sh - (0,26 s in self) | rm -f build.yaml | | |
|
stage - (5,7 s in block) | Set up the test environment | | |
|
stage block (Set up the test environment) - (5,7 s in block) | | | |
|
git - (0,61 s in self) | | | |
|
script - (32 ms in block) | | | |
|
script block - (11 ms in block) | | | |
|
readYaml - (7 ms in self) | conf/database.yaml | | |
|
sh - (5 s in self) |
curl -fsSL -o silverpeas-6.5-build241021-wildfly26.zip https://www.silverpeas.org/files/silverpeas-6.5-build241021-wildfly26.zip
unzip silverpeas-6.5-build241021-wildfly26.zip
mv silverpeas-6.5-build241021-wildfly26 silverpeas
curl -fsSL -o wildfly-26.1.3.Final.zip https://www.silverpeas.org/files/wildfly-26.1.3.Final.zip
unzip wildfly-26.1.3.Final.zip
mv wildfly-26.1.3.Final wildfly
cp conf/*.xml silverpeas/configuration/silverpeas/
cp lib/ojdbc7.jar silverpeas/bin/lib/
| | |
|
stage - (2 mn 19 s in block) | Test upgrade against PostgreSQL | | |
|
stage block (Test upgrade against PostgreSQL) - (2 mn 19 s in block) | | | |
|
script - (2 mn 19 s in block) | | | |
|
script block - (2 mn 19 s in block) | | | |
|
withCredentials - (0,58 s in block) | | | |
|
withCredentials block - (0,52 s in block) | | | |
|
sh - (0,26 s in self) |
rm -f ${DB_PSW}/configuration/config.properties
echo "DB_NAME=SilverUpdate" > ${DB_PSW}/configuration/config.properties
echo "DB_SERVERTYPE=POSTGRESQL" >> ${DB_PSW}/configuration/config.properties
echo "DB_SERVER=int0.${DB_PSW}.org" >> ${DB_PSW}/configuration/config.properties
echo "DB_PORT_POSTGRESQL=5433" >> ${DB_PSW}/configuration/config.properties
| | |
|
sh - (0,25 s in self) |
echo "DB_USER=$DB_USR" >> ${DB_PSW}/configuration/config.properties
echo "DB_PASSWORD=$DB_PSW" >> ${DB_PSW}/configuration/config.properties
| | |
|
sh - (2 mn 18 s in self) |
SILVERPEAS_HOME="`pwd`/silverpeas" JBOSS_HOME="`pwd`/wildfly" silverpeas/bin/silverpeas clean install
| | |
|
sh - (0,25 s in self) | ls silverpeas/log | grep 'build-[0-9]\+_[0-9]\+.log' | | |
|
sh - (0,25 s in self) | mv silverpeas/log/build-20241027_121433.log logs/build-postgresql.log | | |
|
stage - (1 mn 53 s in block) | Test upgrade against MS-SQLServer | | |
|
stage block (Test upgrade against MS-SQLServer) - (1 mn 53 s in block) | | | |
|
script - (1 mn 53 s in block) | | | |
|
script block - (1 mn 53 s in block) | | | |
|
withCredentials - (0,56 s in block) | | | |
|
withCredentials block - (0,52 s in block) | | | |
|
sh - (0,26 s in self) |
rm -f ${DB_PSW}/configuration/config.properties
echo "DB_NAME=SilverUpdate" > ${DB_PSW}/configuration/config.properties
echo "DB_SERVERTYPE=MSSQL" >> ${DB_PSW}/configuration/config.properties
echo "DB_SERVER=int1.${DB_PSW}.org" >> ${DB_PSW}/configuration/config.properties
echo "DB_PORT_MSSQL=1433" >> ${DB_PSW}/configuration/config.properties
| | |
|
sh - (0,25 s in self) |
echo "DB_USER=$DB_USR" >> ${DB_PSW}/configuration/config.properties
echo "DB_PASSWORD=$DB_PSW" >> ${DB_PSW}/configuration/config.properties
| | |
|
sh - (1 mn 52 s in self) |
SILVERPEAS_HOME="`pwd`/silverpeas" JBOSS_HOME="`pwd`/wildfly" silverpeas/bin/silverpeas clean install
| | |
|
sh - (0,26 s in self) | ls silverpeas/log | grep 'build-[0-9]\+_[0-9]\+.log' | | |
|
sh - (0,25 s in self) | mv silverpeas/log/build-20241027_121638.log logs/build-mssql.log | | |
|
stage - (1 mn 54 s in block) | Test upgrade against Oracle | | |
|
stage block (Test upgrade against Oracle) - (1 mn 54 s in block) | | | |
|
script - (1 mn 54 s in block) | | | |
|
script block - (1 mn 54 s in block) | | | |
|
withCredentials - (0,56 s in block) | | | |
|
withCredentials block - (0,52 s in block) | | | |
|
sh - (0,26 s in self) |
rm -f ${DB_PSW}/configuration/config.properties
echo "DB_NAME=SILVERUPDATE" > ${DB_PSW}/configuration/config.properties
echo "DB_SERVERTYPE=ORACLE" >> ${DB_PSW}/configuration/config.properties
echo "DB_SERVER=int3.${DB_PSW}.org" >> ${DB_PSW}/configuration/config.properties
echo "DB_PORT_ORACLE=1521" >> ${DB_PSW}/configuration/config.properties
| | |
|
sh - (0,25 s in self) |
echo "DB_USER=$DB_USR" >> ${DB_PSW}/configuration/config.properties
echo "DB_PASSWORD=$DB_PSW" >> ${DB_PSW}/configuration/config.properties
| | |
|
sh - (1 mn 53 s in self) |
SILVERPEAS_HOME="`pwd`/silverpeas" JBOSS_HOME="`pwd`/wildfly" silverpeas/bin/silverpeas clean install
| | |
|
sh - (0,25 s in self) | ls silverpeas/log | grep 'build-[0-9]\+_[0-9]\+.log' | | |
|
sh - (0,25 s in self) | mv silverpeas/log/build-20241027_121832.log logs/build-oracle.log | | |
|
stage - (0,14 s in block) | Declarative: Post Actions | | |
|
stage block (Declarative: Post Actions) - (0,13 s in block) | | | |
|
script - (31 ms in block) | | | |
|
script block - (14 ms in block) | | | |
|
archiveArtifacts - (58 ms in self) | | | |
|
step - (25 ms in self) | | | |
|