Step | Arguments | | | Status |
---|
Start of Pipeline - (11 mn in block) | | | |
|
node - (11 mn in block) | | | |
|
node block - (11 mn in block) | | | |
|
stage - (1,2 s in block) | Declarative: Checkout SCM | | |
|
stage block (Declarative: Checkout SCM) - (1,2 s in block) | | | |
|
checkout - (1,1 s in self) | | | |
|
withEnv - (11 mn 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 - (11 mn in block) | | | |
|
isUnix - (1 ms in self) | | | |
|
withEnv - (0,28 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 - (11 mn in block) | | | |
|
withDockerContainer block - (11 mn in block) | | | |
|
withEnv - (11 mn in block) | buildVersion, silverpeas, fileRepo, wildfly, dbConf, gitRepo, silverpeasBuildJobName, mavenRepo | | |
|
withEnv block - (11 mn in block) | | | |
|
stage - (2,8 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,26 s in self) | rm -rf * ~/.gradle | | |
|
sh - (0,26 s in self) | mkdir logs/ | | |
|
copyArtifacts - (14 ms in self) | | | |
|
script - (1,9 s in block) | | | |
|
script block - (1,9 s in block) | | | |
|
readYaml - (14 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 - (30 ms in self) | | | |
|
sh - (0,25 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,63 s in self) | | | |
|
script - (25 ms in block) | | | |
|
script block - (8 ms in block) | | | |
|
readYaml - (4 ms in self) | conf/database.yaml | | |
|
sh - (5 s in self) |
curl -fsSL -o silverpeas-6.5-build241120-wildfly26.zip https://www.silverpeas.org/files/silverpeas-6.5-build241120-wildfly26.zip
unzip silverpeas-6.5-build241120-wildfly26.zip
mv silverpeas-6.5-build241120-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 - (3 mn 2 s in block) | Test installation against PostgreSQL | | |
|
stage block (Test installation against PostgreSQL) - (3 mn 2 s in block) | | | |
|
withCredentials - (3 mn 2 s in block) | | | |
|
withCredentials block - (3 mn 2 s in block) | | | |
|
script - (3 mn 2 s in block) | | | |
|
script block - (3 mn 2 s in block) | | | |
|
withCredentials - (0,59 s in block) | | | |
|
withCredentials block - (0,53 s in block) | | | |
|
sh - (0,26 s in self) |
rm -f ${DB_PSW}/configuration/config.properties
echo "DB_NAME=silvertest" > ${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,6 s in self) | /var/lib/jenkins/workspace/Silverpeas_Installation_Test/scripts/setupDB.sh '/var/lib/jenkins/workspace/Silverpeas_Installation_Test' -a CREATE -t POSTGRESQL -n silvertest -d org.${AUTH_USR}ql.Driver -u jdbc:${AUTH_USR}ql://int0.silverpeas.org:5433 -U \${AUTH_USR} -P \${AUTH_PSW} | | |
|
sh - (2 mn 56 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,26 s in self) | mv silverpeas/log/build-20241124_042045.log logs/build-${AUTH_USR}ql.log | | |
|
sh - (1,8 s in self) | /var/lib/jenkins/workspace/Silverpeas_Installation_Test/scripts/setupDB.sh '/var/lib/jenkins/workspace/Silverpeas_Installation_Test' -a DELETE -t POSTGRESQL -n silvertest -d org.${AUTH_USR}ql.Driver -u jdbc:${AUTH_USR}ql://int0.silverpeas.org:5433 -U \${AUTH_USR} -P \${AUTH_PSW} | | |
|
stage - (2 mn 6 s in block) | Test installation against MS-SQLServer | | |
|
stage block (Test installation against MS-SQLServer) - (2 mn 6 s in block) | | | |
|
withCredentials - (2 mn 6 s in block) | | | |
|
withCredentials block - (2 mn 6 s in block) | | | |
|
script - (2 mn 6 s in block) | | | |
|
script block - (2 mn 6 s in block) | | | |
|
withCredentials - (0,56 s in block) | | | |
|
withCredentials block - (0,53 s in block) | | | |
|
sh - (0,26 s in self) |
rm -f ${DB_PSW}/configuration/config.properties
echo "DB_NAME=silvertest" > ${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 - (2,9 s in self) | /var/lib/jenkins/workspace/Silverpeas_Installation_Test/scripts/setupDB.sh '/var/lib/jenkins/workspace/Silverpeas_Installation_Test' -a CREATE -t MSSQL -n silvertest -d net.sourceforge.jtds.jdbc.Driver -u jdbc:jtds:sqlserver://int1.silverpeas.org:1433 -U \${AUTH_USR} -P \${AUTH_PSW} | | |
|
sh - (2 mn 0 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,26 s in self) | mv silverpeas/log/build-20241124_042325.log logs/build-mssql.log | | |
|
sh - (1,8 s in self) | /var/lib/jenkins/workspace/Silverpeas_Installation_Test/scripts/setupDB.sh '/var/lib/jenkins/workspace/Silverpeas_Installation_Test' -a DELETE -t MSSQL -n silvertest -d net.sourceforge.jtds.jdbc.Driver -u jdbc:jtds:sqlserver://int1.silverpeas.org:1433 -U \${AUTH_USR} -P \${AUTH_PSW} | | |
|
stage - (4 mn 13 s in block) | Test installation against Oracle | | |
|
stage block (Test installation against Oracle) - (4 mn 13 s in block) | | | |
|
withCredentials - (4 mn 13 s in block) | | | |
|
withCredentials block - (4 mn 13 s in block) | | | |
|
script - (4 mn 13 s in block) | | | |
|
script block - (4 mn 13 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=SILVERTEST" > ${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,26 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,4 s in self) | /var/lib/jenkins/workspace/Silverpeas_Installation_Test/scripts/setupDB.sh '/var/lib/jenkins/workspace/Silverpeas_Installation_Test' -a CREATE -t ORACLE -n SILVERTEST -d oracle.jdbc.driver.OracleDriver -u jdbc:oracle:thin:@int3.${AUTH_USR}.org:1521 -U \${AUTH_USR} -P \${AUTH_USR} | | |
|
sh - (3 mn 48 s in self) |
SILVERPEAS_HOME="`pwd`/${AUTH_USR}" JBOSS_HOME="`pwd`/wildfly" ${AUTH_USR}/bin/${AUTH_USR} clean install
| | |
|
sh - (0,26 s in self) | ls ${AUTH_USR}/log | grep 'build-[0-9]\+_[0-9]\+.log' | | |
|
sh - (0,26 s in self) | mv ${AUTH_USR}/log/build-20241124_042531.log logs/build-oracle.log | | |
|
sh - (22 s in self) | /var/lib/jenkins/workspace/Silverpeas_Installation_Test/scripts/setupDB.sh '/var/lib/jenkins/workspace/Silverpeas_Installation_Test' -a DELETE -t ORACLE -n SILVERTEST -d oracle.jdbc.driver.OracleDriver -u jdbc:oracle:thin:@int3.${AUTH_USR}.org:1521 -U \${AUTH_USR} -P \${AUTH_USR} | | |
|
stage - (1 mn 44 s in block) | Test installation against H2 | | |
|
stage block (Test installation against H2) - (1 mn 44 s in block) | | | |
|
withCredentials - (1 mn 44 s in block) | | | |
|
withCredentials block - (1 mn 44 s in block) | | | |
|
script - (1 mn 44 s in block) | | | |
|
script block - (1 mn 44 s in block) | | | |
|
sh - (0,26 s in self) | /var/lib/jenkins/workspace/Silverpeas_Installation_Test/scripts/h2.sh '/var/lib/jenkins/workspace/Silverpeas_Installation_Test' start | | |
|
withCredentials - (0,56 s in block) | | | |
|
withCredentials block - (0,52 s in block) | | | |
|
sh - (0,25 s in self) |
rm -f ${DB_PSW}/configuration/config.properties
echo "DB_NAME=silvertest" > ${DB_PSW}/configuration/config.properties
echo "DB_SERVERTYPE=H2" >> ${DB_PSW}/configuration/config.properties
echo "DB_SERVER=localhost" >> ${DB_PSW}/configuration/config.properties
echo "DB_PORT_H2=9092" >> ${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 s in self) | /var/lib/jenkins/workspace/Silverpeas_Installation_Test/scripts/setupDB.sh '/var/lib/jenkins/workspace/Silverpeas_Installation_Test' -a CREATE -t H2 -n silvertest -d org.h2.Driver -u jdbc:h2:tcp://localhost:9092 -U \${AUTH_USR} -P \${AUTH_USR} | | |
|
sh - (1 mn 40 s in self) |
SILVERPEAS_HOME="`pwd`/${AUTH_USR}" JBOSS_HOME="`pwd`/wildfly" ${AUTH_USR}/bin/${AUTH_USR} clean install
| | |
|
sh - (0,26 s in self) | ls ${AUTH_USR}/log | grep 'build-[0-9]\+_[0-9]\+.log' | | |
|
sh - (0,26 s in self) | mv ${AUTH_USR}/log/build-20241124_042944.log logs/build-h2.log | | |
|
sh - (1 s in self) | /var/lib/jenkins/workspace/Silverpeas_Installation_Test/scripts/setupDB.sh '/var/lib/jenkins/workspace/Silverpeas_Installation_Test' -a DELETE -t H2 -n silvertest -d org.h2.Driver -u jdbc:h2:tcp://localhost:9092 -U \${AUTH_USR} -P \${AUTH_USR} | | |
|
sh - (0,5 s in self) | /var/lib/jenkins/workspace/Silverpeas_Installation_Test/scripts/h2.sh '/var/lib/jenkins/workspace/Silverpeas_Installation_Test' stop | | |
|
stage - (0,18 s in block) | Declarative: Post Actions | | |
|
stage block (Declarative: Post Actions) - (0,17 s in block) | | | |
|
script - (40 ms in block) | | | |
|
script block - (17 ms in block) | | | |
|
archiveArtifacts - (89 ms in self) | | | |
|
step - (30 ms in self) | | | |
|